diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-22 04:50:42 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-22 04:50:42 +0000 |
commit | 6ff5582acc0198d77b949d98c251cedb033a08be (patch) | |
tree | bdaa91278226dd634886ab556df1d00b9eb3ca43 /core/stanza_router.lua | |
parent | 24dba04dcbd28501a568528f287a577036fe863e (diff) | |
parent | 87edc64c11a5f38229c915f32165bccd2de65a84 (diff) | |
download | prosody-6ff5582acc0198d77b949d98c251cedb033a08be.tar.gz prosody-6ff5582acc0198d77b949d98c251cedb033a08be.zip |
Merge with trunk
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r-- | core/stanza_router.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 00c37ed7..ad312b85 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -180,7 +180,7 @@ function core_route_stanza(origin, stanza) local xmlns = stanza.attr.xmlns; --stanza.attr.xmlns = "jabber:server"; stanza.attr.xmlns = nil; - log("debug", "sending s2s stanza: %s", tostring(stanza)); + log("debug", "sending s2s stanza: %s", tostring(stanza.top_tag and stanza:top_tag()) or stanza); send_s2s(origin.host, host, stanza); -- TODO handle remote routing errors stanza.attr.xmlns = xmlns; -- reset else |