]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix debugm logic
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 25 Oct 2018 13:22:06 +0000 (14:22 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 25 Oct 2018 13:22:06 +0000 (14:22 +0100)
lualib/lua_util.lua

index 86f862f364158135d87b8281fb02071064ccd90e..18e37b3c5f1c252936e283280b03cdc4133b77fc 100644 (file)
@@ -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