aboutsummaryrefslogtreecommitdiffstats
path: root/util/logger.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/logger.lua')
-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