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