stanza_router: That'll teach me to not commit at this time of night. Or not.
authorMatthew Wild <mwild1@gmail.com>
Fri, 16 Jan 2009 04:57:23 +0000 (04:57 +0000)
committerMatthew Wild <mwild1@gmail.com>
Fri, 16 Jan 2009 04:57:23 +0000 (04:57 +0000)
core/stanza_router.lua

index e94d3c340e998712bc6baa01dddf6a13dcd74d31..9533123e6eaa8b21f82bf30a993b6cf81ae9911d 100644 (file)
@@ -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)