aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-22 02:19:14 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-22 02:19:14 +0000
commit6b11075f6484ddd8f3323bf62f30c394ab21fc8d (patch)
treee8e1787691eb5c858dba2e3e94d6ae19e73be5d4 /plugins/mod_pubsub.lua
parent99e51ba9cdc0b49501094aa6b8bb1bab5d6ce377 (diff)
downloadprosody-6b11075f6484ddd8f3323bf62f30c394ab21fc8d.tar.gz
prosody-6b11075f6484ddd8f3323bf62f30c394ab21fc8d.zip
mod_pubsub: Fix a missing :up() from the last commit
Diffstat (limited to 'plugins/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua
index ecb5115a..5f100e20 100644
--- a/plugins/mod_pubsub.lua
+++ b/plugins/mod_pubsub.lua
@@ -232,7 +232,7 @@ local function handle_disco_items_on_node(event)
:tag("query", { xmlns = xmlns_disco_items });
for id, item in pairs(ret) do
- reply:tag("item", { jid = module.host, name = id });
+ reply:tag("item", { jid = module.host, name = id }):up();
end
return origin.send(reply);