aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-21 20:31:12 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-21 20:31:12 +0100
commit868d01aa23fda629897b3bd5043294b6012eb1ea (patch)
tree95d28a425af5f69314a07c653d7e73457ac7ebde /util
parentea626fdf640fbe4867d887bb34581e504c1cd0f3 (diff)
parent46c517f70bda19a3cbc3e9a6209f131766c3080e (diff)
downloadprosody-868d01aa23fda629897b3bd5043294b6012eb1ea.tar.gz
prosody-868d01aa23fda629897b3bd5043294b6012eb1ea.zip
Merge with 0.4.1
Diffstat (limited to 'util')
-rw-r--r--util/logger.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/logger.lua b/util/logger.lua
index 1a2985b4..4ad42433 100644
--- a/util/logger.lua
+++ b/util/logger.lua
@@ -75,7 +75,7 @@ function make_logger(source_name, level)
local logger = function (message, ...)
if source_handlers then
for i = 1,num_source_handlers do
- if source_handlers(source_name, level, message, ...) == false then
+ if source_handlers[i](source_name, level, message, ...) == false then
return;
end
end