1
0
Fork 0
mirror of https://github.com/bjc/prosody.git synced 2025-04-05 14:17:37 +03:00

mod_admin_adhoc: Declare local variable, don't set a global [luacheck]

This commit is contained in:
Kim Alvefur 2015-08-26 13:08:51 +02:00
parent 4924ad4d8e
commit 88f902f1e9

View file

@ -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