diff options
author | Kim Alvefur <zash@zash.se> | 2025-01-08 08:54:52 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2025-01-08 08:54:52 +0100 |
commit | f9731db67b3a0011ee62042e86e526f9b1873615 (patch) | |
tree | 31367ee75a2b145572894e38a3dc62698fcfa94b /plugins | |
parent | 4569e951af8e47c0c8095e6dae6f4d8329fd1174 (diff) | |
download | prosody-f9731db67b3a0011ee62042e86e526f9b1873615.tar.gz prosody-f9731db67b3a0011ee62042e86e526f9b1873615.zip |
mod_pubsub: Remove unused loop variable [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pubsub/mod_pubsub.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |