leibovic/fennecbot — pull request #8 by mcomella (2014-02-12 01:09:39+00:00)
Title: Add server error listener.

via https://github.com/martynsmith/node-irc#help---it-keeps-crashing

Couldn't get the server to throw an errors this time and I didn't feel like hosting my own, so this is untested (but basically straight copy-pasta!).