# HG changeset patch # User Matthew Wild # Date 1226176748 0 # Node ID bbbd169b326bc58eb5d02868d50744e409c5fda0 # Parent 4b1e30ddd2bb53ef4bed5811abf5b07b75476591 Just committing this warning, because I want to know if the problem really affects us diff -r 4b1e30ddd2bb -r bbbd169b326b core/s2smanager.lua --- 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;