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

Track own nick changes

This commit is contained in:
ShadowNinja 2013-08-05 18:33:33 -04:00
parent bc79606de0
commit 8a2e47a326

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