Changeset

3946:14239141764f

mod_pubsub: Fix missing disco#items xmlns
author Kim Alvefur <zash@zash.se>
date Wed, 22 Dec 2010 17:23:55 +0100
parents 3945:39e34cb4c491
children 3947:21391aa2d9bc
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 17:42:35 2010 +0100
+++ b/plugins/mod_pubsub.lua	Wed Dec 22 17:23:55 2010 +0100
@@ -260,7 +260,7 @@
 	end
 	
 	local reply = st.reply(stanza)
-		:tag("query", { xmlns = xmlns_disco_items });
+		:tag("query", { xmlns = "http://jabber.org/protocol/disco#items" });
 	
 	for id, item in pairs(ret) do
 		reply:tag("item", { jid = module.host, name = id }):up();