mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-09 01:20:27 +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)
|
||||
end
|
||||
|
||||
handlers["001"] = function(o)
|
||||
handlers["001"] = function(o, prefix, me)
|
||||
o.authed = true
|
||||
o.nick = me
|
||||
end
|
||||
|
||||
handlers["PRIVMSG"] = function(o, prefix, channel, message)
|
||||
|
Loading…
Reference in New Issue
Block a user