author | Kim Alvefur <zash@zash.se> |
Mon, 06 Mar 2017 15:24:44 +0100 | |
changeset 7958 | bba71bfe2154 |
parent 7957 | 60b83f83f317 |
child 7959 | beaeafedc2d7 |
--- a/plugins/mod_c2s.lua Mon Mar 06 15:24:33 2017 +0100 +++ b/plugins/mod_c2s.lua Mon Mar 06 15:24:44 2017 +0100 @@ -197,7 +197,7 @@ local username, host = event.username, event.host; local user = hosts[host].sessions[username]; if user and user.sessions then - for jid, session in pairs(user.sessions) do + for _, session in pairs(user.sessions) do session:close{ condition = "not-authorized", text = "Account deleted" }; end end