aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-23 17:32:33 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-23 17:32:33 +0100
commite89b006f03f692a7e807c54757f0623302c40b85 (patch)
tree9c9c3219211b2f9e2eca26d188f9f44924922db7 /plugins/mod_s2s
parentbadc4159d600642f97d064a7f74c2ff68dda8abf (diff)
downloadprosody-e89b006f03f692a7e807c54757f0623302c40b85.tar.gz
prosody-e89b006f03f692a7e807c54757f0623302c40b85.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.lua2
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