1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2024-11-05 01:50:27 +01:00

Fix nick updating

This commit is contained in:
ShadowNinja 2014-06-18 16:24:04 -04:00
parent 539892b8fc
commit 77dd15ca9a

View File

@ -72,7 +72,7 @@ handlers["NICK"] = function(conn, msg)
conn:invoke("NickChange", msg.user, newNick)
end
if msg.user.nick == conn.nick then
conn.nick = newnick
conn.nick = newNick
end
end