More work on making irc functional