core/stanza_router.lua

changeset 262
8c73fb2ff4a2
parent 257
762274c98040
child 264
a296b61baad8
--- a/core/stanza_router.lua	Fri Nov 14 14:26:56 2008 +0000
+++ b/core/stanza_router.lua	Fri Nov 14 16:03:33 2008 +0000
@@ -32,7 +32,7 @@
 local print = print;
 
 function core_process_stanza(origin, stanza)
-	log("debug", "Received["..origin.type.."]: "..tostring(st.reply(st.reply(stanza))))
+	log("debug", "Received[%s]: %s", origin.type, stanza:pretty_top_tag())
 
 	if not stanza.attr.xmlns then stanza.attr.xmlns = "jabber:client"; end -- FIXME Hack. This should be removed when we fix namespace handling.
 	-- TODO verify validity of stanza (as well as JID validity)

mercurial