1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2025-01-09 09:30:28 +01:00

Merge pull request #5 from gandro/master

Use server-assigned nickname
This commit is contained in:
JakobOvrum 2011-11-07 23:09:57 -08:00
commit ad53b2aeb1

View File

@ -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)