summaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-25 14:22:06 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-25 14:22:06 +0100
commit55fd8637509981e691f1163948b1b2c472aba2d6 (patch)
tree186dd4bdf2aaf9befb5c2877c141dcb0ac784337 /lualib
parentaec26d22917fa8272bc26a5cce9928e445e05656 (diff)
downloadrspamd-55fd8637509981e691f1163948b1b2c472aba2d6.tar.gz
rspamd-55fd8637509981e691f1163948b1b2c472aba2d6.zip
[Minor] Fix debugm logic
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua
index 86f862f36..18e37b3c5 100644
--- a/lualib/lua_util.lua
+++ b/lualib/lua_util.lua
@@ -750,7 +750,7 @@ exports.debugm = function(mod, obj_or_fmt, fmt_or_something, ...)
local logger = require "rspamd_logger"
if unconditional_debug or debug_modules[mod] then
if type(obj_or_fmt) == 'string' then
- logger.logx(log_level, mod, 2, obj_or_fmt, fmt_or_something, ...)
+ logger.logx(log_level, mod, '', 2, obj_or_fmt, fmt_or_something, ...)
else
logger.logx(log_level, mod, obj_or_fmt, 2, fmt_or_something, ...)
end