Software /
code /
prosody
Changeset
7955:bba71bfe2154
mod_c2s: Rename unused loop variable to _ [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 06 Mar 2017 15:24:44 +0100 |
parents | 7954:60b83f83f317 |
children | 7956:beaeafedc2d7 |
files | plugins/mod_c2s.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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