Made changes on the if statements.

Now should a PRIVMSG have JOIN, INVITE, or PONG, spoonbot won't try to interpret them as anything but PRIVMSG events.