瀏覽代碼

[Minor] Pet luacheck

tags/3.1
Vsevolod Stakhov 2 年之前
父節點
當前提交
b55e61b1ee
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0
    2
      lualib/lua_util.lua

+ 0
- 2
lualib/lua_util.lua 查看文件

@@ -1108,7 +1108,6 @@ end
-- Performs fast debug log for a specific module
--]]
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, ...)
@@ -1123,7 +1122,6 @@ end
-- Add debugging alias so logging to `alias` will be treated as logging to `mod`
--]]
exports.add_debug_alias = function(mod, alias)
local logger = require "rspamd_logger"
debug_aliases[alias] = mod

if debug_modules[mod] then

Loading…
取消
儲存