core/s2smanager.lua

changeset 225
bbbd169b326b
parent 199
eccf66b42bd7
child 227
211c2e04c82b
--- 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