From f9731db67b3a0011ee62042e86e526f9b1873615 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 8 Jan 2025 08:54:52 +0100 Subject: mod_pubsub: Remove unused loop variable [luacheck] --- plugins/mod_pubsub/mod_pubsub.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua index 9cb63178..5a590893 100644 --- a/plugins/mod_pubsub/mod_pubsub.lua +++ b/plugins/mod_pubsub/mod_pubsub.lua @@ -184,7 +184,7 @@ module:hook("host-disco-items", function (event) if not ok then return; end - for node, node_obj in pairs(ret) do + for node in pairs(ret) do local ok, meta = service:get_node_metadata(node, stanza.attr.from); if ok then reply:tag("item", { jid = module.host, node = node, name = meta.title }):up(); -- cgit v1.2.3