mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-09 09:30:28 +01:00
Track own nick changes
This commit is contained in:
parent
bc79606de0
commit
8a2e47a326
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user