Fix irc client initialization