Track own nick changes

This commit is contained in:
ShadowNinja 2013-08-05 18:33:33 -04:00
parent bc79606de0
commit 8a2e47a326
1 changed files with 3 additions and 0 deletions

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