mod_s2s: Remove warning about hostname mismatch
authorKim Alvefur <zash@zash.se>
Sat, 07 Sep 2019 18:54:59 +0200
changeset 10253 790c6ae54dd6
parent 10252 d7cadd118053
child 10254 1006739de449
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.
plugins/mod_s2s/mod_s2s.lua
--- 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