tweaked irc functionality to work with new changes