mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-09 17:40:29 +01:00
Accept server-assigned nickname
This commit is contained in:
parent
e3b566407e
commit
c181583f39
@ -10,8 +10,9 @@ handlers["PING"] = function(o, prefix, query)
|
|||||||
o:send("PONG :%s", query)
|
o:send("PONG :%s", query)
|
||||||
end
|
end
|
||||||
|
|
||||||
handlers["001"] = function(o)
|
handlers["001"] = function(o, prefix, me)
|
||||||
o.authed = true
|
o.authed = true
|
||||||
|
o.nick = me
|
||||||
end
|
end
|
||||||
|
|
||||||
handlers["PRIVMSG"] = function(o, prefix, channel, message)
|
handlers["PRIVMSG"] = function(o, prefix, channel, message)
|
||||||
|
Loading…
Reference in New Issue
Block a user