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:
parent
4924ad4d8e
commit
88f902f1e9
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue