From 8a2e47a326e097102533dfd90c67193614e7a479 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Mon, 5 Aug 2013 18:33:33 -0400 Subject: [PATCH] Track own nick changes --- handlers.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/handlers.lua b/handlers.lua index 6b892f9..d46ee64 100644 --- a/handlers.lua +++ b/handlers.lua @@ -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