Fixed bug in irc.js