mod_pubsub: Ignore shadowed variable [luacheck]

This commit is contained in:
Kim Alvefur 2024-03-06 19:12:11 +01:00
parent 7ad4c88432
commit fabcc21881

View file

@ -282,6 +282,7 @@ module:add_item("shell-command", {
host_selector = "service_jid";
handler = function (self, service_jid) --luacheck: ignore 212/self
-- luacheck: ignore 431/service
local service = get_service(service_jid);
local nodes = select(2, assert(service:get_nodes(true)));
local count = 0;