aboutsummaryrefslogtreecommitdiffstats
path: root/tests/util/logger.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util/logger.lua')
-rw-r--r--tests/util/logger.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/util/logger.lua b/tests/util/logger.lua
index 003c5946..35facd4e 100644
--- a/tests/util/logger.lua
+++ b/tests/util/logger.lua
@@ -1,6 +1,6 @@
-- Prosody IM
--- Copyright (C) 2008-2009 Matthew Wild
--- Copyright (C) 2008-2009 Waqas Hussain
+-- Copyright (C) 2008-2010 Matthew Wild
+-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
@@ -33,7 +33,7 @@ function init(name)
local inf = debug.getinfo(3, 'Snl');
level = level .. ","..tostring(inf.short_src):match("[^/]*$")..":"..inf.currentline;
end
- if ... then
+ if ... then
print(name, getstring(logstyles[level], level), format(message, ...));
else
print(name, getstring(logstyles[level], level), message);