Add handler for 437 ERR_UNAVAILRESOURCE

This commit is contained in:
Carl Reinke 2014-08-03 13:04:28 -04:00 committed by ShadowNinja
parent 77dd15ca9a
commit 50b068ba15
1 changed files with 7 additions and 0 deletions

View File

@ -87,6 +87,13 @@ handlers["432"] = needNewNick
-- ERR_NICKNAMEINUSE
handlers["433"] = needNewNick
-- ERR_UNAVAILRESOURCE
handlers["437"] = function(conn, msg)
if not conn.authed then
needNewNick(conn, msg)
end
end
-- RPL_ISUPPORT
handlers["005"] = function(conn, msg)
local arglen = #msg.args