From 63808314ef8eb9942afe35fc2e82baf96c94bc92 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 8 Nov 2008 20:39:08 +0000 Subject: Just committing this warning, because I want to know if the problem really affects us --- core/s2smanager.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 7855181e..7b4f6d0a 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -39,6 +39,8 @@ function send_to_host(from_host, to_host, data) 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 @@ function destroy_session(session) end end -return _M; \ No newline at end of file +return _M; -- cgit v1.2.3