Is it wrong to not say to an ex friend if you bump into them at a club?

i saw a guy I used to be friends with. We saw each other but I ignored him.

Is it wrong to not say to an ex friend if you bump into them at a club?
Post Opinion