Fix privmsg event handler