mod_pubsub: Ignore shadowed variable [luacheck]
authorKim Alvefur <zash@zash.se>
Wed, 06 Mar 2024 19:12:11 +0100
changeset 13461 3347ed1014b8
parent 13460 e9ab660b9c5f
child 13462 598df17b8ebb
mod_pubsub: Ignore shadowed variable [luacheck]
plugins/mod_pubsub/mod_pubsub.lua
--- a/plugins/mod_pubsub/mod_pubsub.lua	Wed Mar 06 17:38:21 2024 +0000
+++ b/plugins/mod_pubsub/mod_pubsub.lua	Wed Mar 06 19:12:11 2024 +0100
@@ -282,6 +282,7 @@
 	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;