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
commit7191f9b4f69abb50b4207fa9cae16880bb900eb9 (patch)
tree8b5182f4fb949e39b38e7066e59e39fd66152f5f /plugins/mod_s2s
parent72c7702ca51a74195b27b73defb112b2b4d67708 (diff)
downloadprosody-7191f9b4f69abb50b4207fa9cae16880bb900eb9.tar.gz
prosody-7191f9b4f69abb50b4207fa9cae16880bb900eb9.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