aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-14 02:12:08 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-14 02:12:08 +0000
commit9acd51fbef35196c355bf03a9d7751a064649d29 (patch)
tree0b6aac067c67614d234aec26f687150852a40dad /core
parente110538068747e6595facc504f775c3555d546b8 (diff)
downloadprosody-9acd51fbef35196c355bf03a9d7751a064649d29.tar.gz
prosody-9acd51fbef35196c355bf03a9d7751a064649d29.zip
Another small fix, for logging in s2smanager
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index f5ad12f9..e0a6f3ca 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -47,7 +47,10 @@ function send_to_host(from_host, to_host, data)
else
(host.log or 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 might, possibly, be a bug, but it might not..."); end
+ if hosts[to_host].from_host ~= from_host then
+ log("error", "WARNING! This might, possibly, be a bug, but it might not...");
+ log("error", "We are going to send from %s instead of %s", hosts[to_host].from_host, from_host);
+ end
hosts[to_host].sends2s(data);
host.log("debug", "stanza sent over "..hosts[to_host].type);
end