Changeset

10249:790c6ae54dd6

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.
author Kim Alvefur <zash@zash.se>
date Sat, 07 Sep 2019 18:54:59 +0200
parents 10248:d7cadd118053
children 10250:1006739de449
files plugins/mod_s2s/mod_s2s.lua
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Sat Sep 07 18:33:16 2019 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Sat Sep 07 18:54:59 2019 +0200
@@ -139,11 +139,6 @@
 			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