projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
732070f
)
util.logger: Fix for attempting to call a table
author
Matthew Wild
<mwild1@gmail.com>
Tue, 21 Apr 2009 19:29:38 +0000
(20:29 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Tue, 21 Apr 2009 19:29:38 +0000
(20:29 +0100)
util/logger.lua
patch
|
blob
|
history
diff --git
a/util/logger.lua
b/util/logger.lua
index 1a2985b414e8412f83f5d7393d8fae3d6a5ad0fd..4ad424333eb860b0b434c407e9ef3e9de3209dea 100644
(file)
--- 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