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

Fix saving of channel users on join

This commit is contained in:
ShadowNinja 2014-04-29 21:40:08 -04:00
parent 1749c7a365
commit 81d28bf4dc

View File

@ -32,7 +32,7 @@ handlers["JOIN"] = function(conn, msg)
if msg.user.nick == conn.nick then
conn.channels[channel] = {users = {}}
else
conn.channels[channel].users[msg.user.nick] = user
conn.channels[channel].users[msg.user.nick] = msg.user
end
end