Updated with changes from new version of irc library.