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:
parent
1749c7a365
commit
81d28bf4dc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user