aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-03-06 19:12:11 +0100
committerKim Alvefur <zash@zash.se>2024-03-06 19:12:11 +0100
commitfabcc218817f0accba74a109efe42aa94fda087d (patch)
treed274ef7f574757c51764239282ffac39f5605bfa /plugins/mod_pubsub
parent7ad4c88432ea19c00935e1624c17e3e56151de80 (diff)
downloadprosody-fabcc218817f0accba74a109efe42aa94fda087d.tar.gz
prosody-fabcc218817f0accba74a109efe42aa94fda087d.zip
mod_pubsub: Ignore shadowed variable [luacheck]
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 469b5a15..4f83088a 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -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;