Move the privmsg condition to the top since it happens most often.