aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/mod_pubsub.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-10-05 12:16:28 -0400
committerMatthew Wild <mwild1@gmail.com>2013-10-05 12:16:28 -0400
commit8754e4be8504fbdbdd796818d2ce68bb02e104e5 (patch)
tree9344408f15cd0951aad0c621076ac09fb81d539a /plugins/mod_pubsub/mod_pubsub.lua
parentfa21be14b2c444aa7848c401e2be40bdd101e67a (diff)
parent841a59e0e13f566e3c2f324f8c54470dbec0e8e9 (diff)
downloadprosody-8754e4be8504fbdbdd796818d2ce68bb02e104e5.tar.gz
prosody-8754e4be8504fbdbdd796818d2ce68bb02e104e5.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_pubsub/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 81a66f8b..2868d409 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -103,7 +103,7 @@ module:hook("host-disco-items-node", function (event)
return origin.send(pubsub_error_reply(stanza, ret));
end
- for id, item in pairs(ret) do
+ for _, id in ipairs(ret) do
reply:tag("item", { jid = module.host, name = id }):up();
end
event.exists = true;