Software /
code /
prosody
Diff
core/stanza_router.lua @ 262:8c73fb2ff4a2
A treat for Linux users ;)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 14 Nov 2008 16:03:33 +0000 |
parent | 257:762274c98040 |
child | 264:a296b61baad8 |
line wrap: on
line diff
--- 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)