aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-08 20:39:08 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-08 20:39:08 +0000
commit63808314ef8eb9942afe35fc2e82baf96c94bc92 (patch)
treefb1d59ee7f6a8eb8ee442683f89d5830783b43fa /core
parentc96a001744e0beb5f7bc5164da0c98c261b1aab8 (diff)
downloadprosody-63808314ef8eb9942afe35fc2e82baf96c94bc92.tar.gz
prosody-63808314ef8eb9942afe35fc2e82baf96c94bc92.zip
Just committing this warning, because I want to know if the problem really affects us
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;