Changeset

225:bbbd169b326b

Just committing this warning, because I want to know if the problem really affects us
author Matthew Wild <mwild1@gmail.com>
date Sat, 08 Nov 2008 20:39:08 +0000
parents 224:4b1e30ddd2bb
children 226:ba4711c4e8d2
files core/s2smanager.lua
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;