Changeset

3933:24f0a7544a7a

mod_pubsub: Fix a missing :up() from the last commit
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Dec 2010 02:19:14 +0000
parents 3932:aa245e43b21e
children 3934:4bd994df7296
files plugins/mod_pubsub.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua	Wed Dec 22 02:17:45 2010 +0000
+++ b/plugins/mod_pubsub.lua	Wed Dec 22 02:19:14 2010 +0000
@@ -232,7 +232,7 @@
 		: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);