Just committing this warning, because I want to know if the problem really affects us

Sat, 08 Nov 2008 20:39:08 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 08 Nov 2008 20:39:08 +0000
changeset 225
bbbd169b326b
parent 224
4b1e30ddd2bb
child 226
ba4711c4e8d2

Just committing this warning, because I want to know if the problem really affects us

core/s2smanager.lua file | annotate | diff | comparison | revisions
--- a/core/s2smanager.lua	Sat Nov 08 20:32:30 2008 +0000
+++ b/core/s2smanager.lua	Sat Nov 08 20:39:08 2008 +0000
@@ -39,6 +39,8 @@
 			else t_insert(host.sendq, data); end
 		else
 			log("debug", "going to send stanza to "..to_host.." from "..from_host);
+			-- FIXME
+			if hosts[to_host].from_host ~= from_host then log("error", "WARNING! This is a bug!!!!"); end
 			hosts[to_host].sends2s(data);
 			log("debug", "stanza sent over "..hosts[to_host].type);
 		end
@@ -213,4 +215,4 @@
 	end
 end
 
-return _M;
\ No newline at end of file
+return _M;

mercurial