diff options
author | Kim Alvefur <zash@zash.se> | 2015-08-26 13:08:51 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-08-26 13:08:51 +0200 |
commit | 33f35bae5816a63050a4825233acc3c630e0a1b2 (patch) | |
tree | eb2a36d61c9e3ccdf47f80ef12b03f342c5495ed /plugins | |
parent | a8102d93725ee954b43cca286a36cb9f7cfd4a32 (diff) | |
download | prosody-33f35bae5816a63050a4825233acc3c630e0a1b2.tar.gz prosody-33f35bae5816a63050a4825233acc3c630e0a1b2.zip |
mod_admin_adhoc: Declare local variable, don't set a global [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_adhoc.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua index b6163559..fdbdf462 100644 --- a/plugins/mod_admin_adhoc.lua +++ b/plugins/mod_admin_adhoc.lua @@ -614,6 +614,7 @@ end, function(fields, err) end); local function send_to_online(message, server) + local sessions; if server then sessions = { [server] = hosts[server] }; else |