aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-24 19:07:26 +0200
committerKim Alvefur <zash@zash.se>2018-07-24 19:07:26 +0200
commit05fff2e701cbaf45817dc62ccaae0e5b801e25f4 (patch)
tree2c1c2f4eaee6f4cc867fd0eea12d5603d7adc3a9 /plugins/mod_s2s/mod_s2s.lua
parent8ef335caff60b74094b997f8e621a29248182783 (diff)
downloadprosody-05fff2e701cbaf45817dc62ccaae0e5b801e25f4.tar.gz
prosody-05fff2e701cbaf45817dc62ccaae0e5b801e25f4.zip
sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with that for incoming
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index f182df52..0857f08e 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -541,7 +541,7 @@ local function initialize_session(session)
local w = conn.write;
function session.sends2s(t)
- log("debug", "sending: %s", t.top_tag and t:top_tag() or t:match("^[^>]*>?"));
+ log("debug", "Sending[%s]: %s", session.type, t.top_tag and t:top_tag() or t:match("^[^>]*>?"));
if t.name then
t = filter("stanzas/out", t);
end