I could be wrong but I don't think it is illegal to try to chat someone up, lots more people in bars and nightclubs would be getting done for chatting people up if it was illegal, unless he said something sexually explicit or did it continually when it might be considered stalking then it might be illegal.