mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
mod_pubsub: Ignore shadowed variable [luacheck]
This commit is contained in:
parent
7ad4c88432
commit
fabcc21881
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ module:add_item("shell-command", {
|
||||||
host_selector = "service_jid";
|
host_selector = "service_jid";
|
||||||
|
|
||||||
handler = function (self, service_jid) --luacheck: ignore 212/self
|
handler = function (self, service_jid) --luacheck: ignore 212/self
|
||||||
|
-- luacheck: ignore 431/service
|
||||||
local service = get_service(service_jid);
|
local service = get_service(service_jid);
|
||||||
local nodes = select(2, assert(service:get_nodes(true)));
|
local nodes = select(2, assert(service:get_nodes(true)));
|
||||||
local count = 0;
|
local count = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue