aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-14 16:03:33 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-14 16:03:33 +0000
commitd67940a1d7700c0389341c42f845b91e8b32eea6 (patch)
tree278ae1834e11253ec1865359e2118b69be1ab26e /core
parentbe854cf8995560ecb4cf61e3d7f9823e970c0521 (diff)
downloadprosody-d67940a1d7700c0389341c42f845b91e8b32eea6.tar.gz
prosody-d67940a1d7700c0389341c42f845b91e8b32eea6.zip
A treat for Linux users ;)
Diffstat (limited to 'core')
-rw-r--r--core/stanza_router.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index 6c117c25..16e6598f 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -32,7 +32,7 @@ local jid_split = require "util.jid".split;
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)