From 9acd51fbef35196c355bf03a9d7751a064649d29 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 14 Nov 2008 02:12:08 +0000 Subject: Another small fix, for logging in s2smanager --- core/s2smanager.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3