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

Merge pull request #12 from ShadowNinja/master

Track own nick changes
This commit is contained in:
JakobOvrum 2013-08-22 05:49:26 -07:00
commit be620c428e

View File

@ -74,6 +74,9 @@ handlers["NICK"] = function(o, prefix, newnick)
else
o:invoke("NickChange", user, newnick)
end
if user.nick == o.nick then
o.nick = newnick
end
end
--NAMES list