Add handler for 437 ERR_UNAVAILRESOURCE
This commit is contained in:
parent
77dd15ca9a
commit
50b068ba15
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue