diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-23 17:32:33 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-23 17:32:33 +0100 |
commit | e808645b53de5373b292d97f8213cca016864de9 (patch) | |
tree | 9c9c3219211b2f9e2eca26d188f9f44924922db7 /plugins/mod_s2s | |
parent | ff043a930ba6a389161deedbcad4617003f34761 (diff) | |
download | prosody-e808645b53de5373b292d97f8213cca016864de9.tar.gz prosody-e808645b53de5373b292d97f8213cca016864de9.zip |
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index 16a8b461..314be3f0 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -99,7 +99,7 @@ function route_to_existing_session(event) log("error", "We are going to send from %s instead of %s", tostring(host.from_host), tostring(from_host)); end if host.sends2s(stanza) then - host.log("debug", "stanza sent over "..host.type); + host.log("debug", "stanza sent over %s", host.type); return true; end end |