aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_component.lua
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_component.lua
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_component.lua')
-rw-r--r--plugins/mod_component.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua
index 738124cc..4037ad28 100644
--- a/plugins/mod_component.lua
+++ b/plugins/mod_component.lua
@@ -124,7 +124,7 @@ local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams";
function stream_callbacks.error(session, error, data, data2)
if session.destroyed then return; end
- module:log("warn", "Error processing component stream: "..tostring(error));
+ module:log("warn", "Error processing component stream: %s", tostring(error));
if error == "no-stream" then
session:close("invalid-namespace");
elseif error == "parse-error" then