If the situation is indeed like you describe, what you have done is correct
and to attend such an event is completely haraam.
If the situation is indeed like you describe, what you have done is correct
and to attend such an event is completely haraam.