rewrote irc handlers