diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-08 20:39:08 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-08 20:39:08 +0000 |
commit | 63808314ef8eb9942afe35fc2e82baf96c94bc92 (patch) | |
tree | fb1d59ee7f6a8eb8ee442683f89d5830783b43fa /core/s2smanager.lua | |
parent | c96a001744e0beb5f7bc5164da0c98c261b1aab8 (diff) | |
download | prosody-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/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 4 |
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; |