aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua4
1 files changed, 3 insertions, 1 deletions
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;