mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_pubsub: Remove unused loop variable [luacheck]
This commit is contained in:
parent
4569e951af
commit
f9731db67b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue