Software /
code /
prosody
Changeset
13608:df32fff0963d
mod_pubsub: Remove unused loop variable [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 08 Jan 2025 08:54:52 +0100 |
parents | 13607:ca9426f98b8e |
children | 13609:c0b6b6a12228 |
files | plugins/mod_pubsub/mod_pubsub.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pubsub/mod_pubsub.lua Wed Jan 08 08:53:43 2025 +0100 +++ b/plugins/mod_pubsub/mod_pubsub.lua Wed Jan 08 08:54:52 2025 +0100 @@ -184,7 +184,7 @@ 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();