Updated for language changes and for changes to irc library.