irkerd: Close a Dispatcher after a bad-password error
authorW. Trevor King <wking@tremily.us>
Fri, 30 May 2014 00:19:16 +0000 (17:19 -0700)
committerW. Trevor King <wking@tremily.us>
Fri, 30 May 2014 23:24:18 +0000 (16:24 -0700)
commit18f6a8df00c29abc498779a8615375f08e8ef6b7
treeec8d303481a9037d7ebea691c5f3d88c0b31d303
parent4d67e3b41c2941036d4fef468cdb3240cbbe7d16
irkerd: Close a Dispatcher after a bad-password error

Instead of continually trying to reconnect.  If the server didn't like
your password last time, it's not likely to like it next time either.
Bad-password errors aren't covered in RFC 2812 (the ERROR entry is
very general [1]).  Charybdis seems to use:

  ERROR :Closing Link: webirc. (Bad Password)

and ngIRCd uses:

  ERROR :Access denied: Bad password?

[1]: http://tools.ietf.org/html/rfc2812#section-3.7.4
irkerd