Manually applied https://github.com/martynsmith/node-irc/commit/af6f07f3f040f753851419c5582463b06b0cf2ba