aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-16 04:57:23 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-16 04:57:23 +0000
commitda06bc06ba725b09970882d60947965a8a90a2cf (patch)
tree15f1962e43d2ca308f1b00ffd63717b9c701c794 /core
parent69bededafc0975871633cf37669d9082027a15ae (diff)
downloadprosody-da06bc06ba725b09970882d60947965a8a90a2cf.tar.gz
prosody-da06bc06ba725b09970882d60947965a8a90a2cf.zip
stanza_router: That'll teach me to not commit at this time of night. Or not.
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 e94d3c34..9533123e 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -56,7 +56,7 @@ local function checked_error_reply(origin, stanza)
end
function core_process_stanza(origin, stanza)
- (origin.log or log)("debug", "Received[%s]: %s", origin.type, top_tag())
+ (origin.log or log)("debug", "Received[%s]: %s", origin.type, stanza: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)