Fixes for irc class