aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-22 04:50:42 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-22 04:50:42 +0000
commit6ff5582acc0198d77b949d98c251cedb033a08be (patch)
treebdaa91278226dd634886ab556df1d00b9eb3ca43 /core/stanza_router.lua
parent24dba04dcbd28501a568528f287a577036fe863e (diff)
parent87edc64c11a5f38229c915f32165bccd2de65a84 (diff)
downloadprosody-6ff5582acc0198d77b949d98c251cedb033a08be.tar.gz
prosody-6ff5582acc0198d77b949d98c251cedb033a08be.zip
Merge with trunk
Diffstat (limited to 'core/stanza_router.lua')
-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 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