added checks for join and privmsg before nick, and nick