aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-09-11 01:17:56 +0200
committerKim Alvefur <zash@zash.se>2014-09-11 01:17:56 +0200
commit43df3959ab0c8801cb39c1d7eba96af8a3785064 (patch)
tree147e215854eea3b4657112876b5c45863c73acc8 /plugins/mod_pubsub/mod_pubsub.lua
parentf41908a42c7e4f8397b52536e5e32c771b07a096 (diff)
parent534a115ec7aff123fa3358c500554d02b247e4a8 (diff)
downloadprosody-43df3959ab0c8801cb39c1d7eba96af8a3785064.tar.gz
prosody-43df3959ab0c8801cb39c1d7eba96af8a3785064.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 c6dbe831..33e729af 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -100,7 +100,7 @@ module:hook("host-disco-items-node", function (event)
return;
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;