Software /
code /
prosody
Changeset
253:f2869ded1d37
Another small fix, for logging in s2smanager
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 14 Nov 2008 02:09:20 +0000 |
parents | 252:a698993bd49b |
children | 254:6eb3dea1d68b |
files | core/s2smanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Fri Nov 14 02:06:17 2008 +0000 +++ b/core/s2smanager.lua Fri Nov 14 02:09:20 2008 +0000 @@ -45,7 +45,7 @@ if host.sendq then t_insert(host.sendq, data); else host.sendq = { data }; end else - host.log("debug", "going to send stanza to "..to_host.." from "..from_host); + (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 hosts[to_host].sends2s(data);