aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-22 19:45:58 +0200
committerKim Alvefur <zash@zash.se>2018-07-22 19:45:58 +0200
commit8ef335caff60b74094b997f8e621a29248182783 (patch)
tree673612cdf094b68521d9e38a848e2345dbdd6663 /plugins/mod_s2s/mod_s2s.lua
parent868c4b1fe8a4bd34058dbbb33d37672f6a9b1033 (diff)
downloadprosody-8ef335caff60b74094b997f8e621a29248182783.tar.gz
prosody-8ef335caff60b74094b997f8e621a29248182783.zip
mod_s2s: Reduce logging (#776)
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index 1f38c13a..f182df52 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -110,14 +110,12 @@ function route_to_existing_session(event)
log("error", "Stanza: %s", tostring(stanza));
return false;
else
- (host.log or log)("debug", "going to send stanza to "..to_host.." from "..from_host);
-- FIXME
if host.from_host ~= from_host then
log("error", "WARNING! This might, possibly, be a bug, but it might not...");
log("error", "We are going to send from %s instead of %s", tostring(host.from_host), tostring(from_host));
end
if host.sends2s(stanza) then
- host.log("debug", "stanza sent over %s", host.type);
return true;
end
end