--- a/plugins/mod_component.lua Mon Jul 23 16:42:26 2012 +0100
+++ b/plugins/mod_component.lua Mon Jul 23 17:32:33 2012 +0100
@@ -124,7 +124,7 @@
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