Diff

mod_proxy65/mod_proxy65.lua @ 79:34f5818c90e9

mod_proxy65: answer with correct disco#info data on a disco#info request
author Thilo Cestonaro <thilo@cestona.ro>
date Sun, 01 Nov 2009 14:37:28 +0100
parent 77:85b8622ccffd
child 80:bed9a6b40fae
line wrap: on
line diff
--- a/mod_proxy65/mod_proxy65.lua	Sun Nov 01 18:14:42 2009 +0500
+++ b/mod_proxy65/mod_proxy65.lua	Sun Nov 01 14:37:28 2009 +0100
@@ -118,7 +118,7 @@
 	local reply = replies_cache.disco_items;
 	if reply == nil then
 	 	reply = st.iq({type='result', from=host}):query("http://jabber.org/protocol/disco#items");
-		replies_cache.disco_info = reply;
+		replies_cache.disco_items = reply;
 	end
 	
 	reply.attr.id = stanza.attr.id;