# HG changeset patch # User Matthew Wild # Date 1232081843 0 # Node ID 68a776711ba97b6f7d4cc00702e356362a08ecc0 # Parent 96110075288baa9d586e41ed916647b86108d188 stanza_router: That'll teach me to not commit at this time of night. Or not. diff -r 96110075288b -r 68a776711ba9 core/stanza_router.lua --- a/core/stanza_router.lua Fri Jan 16 04:37:16 2009 +0000 +++ b/core/stanza_router.lua Fri Jan 16 04:57:23 2009 +0000 @@ -56,7 +56,7 @@ 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)