aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-09-07 18:54:59 +0200
committerKim Alvefur <zash@zash.se>2019-09-07 18:54:59 +0200
commit55efbf445b422313e209e02bae07db8b35826a62 (patch)
tree8b5182f4fb949e39b38e7066e59e39fd66152f5f /plugins/mod_s2s
parent4eda545430dc80353a1b168828990e22c73e7a41 (diff)
downloadprosody-55efbf445b422313e209e02bae07db8b35826a62.tar.gz
prosody-55efbf445b422313e209e02bae07db8b35826a62.zip
mod_s2s: Remove warning about hostname mismatch
It triggers on bidi-related routing where this to/from is flipped. Removing since I don't think we have ever seen this potential bug.
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index 673c93a2..41b1875b 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -139,11 +139,6 @@ function route_to_existing_session(event)
log("error", "Stanza: %s", stanza);
return false;
else
- -- 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", host.from_host, from_host);
- end
if host.sends2s(stanza) then
return true;
end