Software /
code /
prosody
Diff
plugins/mod_pubsub/mod_pubsub.lua @ 6434:382e03a40dd2
mod_pubsub: Transplant pieces of cdcfd93e2f43 from trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 27 Sep 2014 19:53:39 +0200 |
parent | 5970:6a2c3293d4d7 |
child | 6438:b1c40054b59d |
line wrap: on
line diff
--- a/plugins/mod_pubsub/mod_pubsub.lua Fri Sep 26 17:16:46 2014 +0100 +++ b/plugins/mod_pubsub/mod_pubsub.lua Sat Sep 27 19:53:39 2014 +0200 @@ -100,7 +100,7 @@ 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;