浏览代码

[Minor] Rbl: Fix log message

tags/2.6
Vsevolod Stakhov 4 年前
父节点
当前提交
848ad88460
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/plugins/lua/rbl.lua

+ 2
- 2
src/plugins/lua/rbl.lua 查看文件

@@ -299,8 +299,8 @@ local function gen_rbl_callback(rule)
local wl = whitelist[req_str]
if wl then
lua_util.debugm(N, task,
'whitelisted %s on %s by %s (%s) rbl rule (%s checked)',
req_str, wl.type, wl.symbol, what)
'whitelisted request to %s by %s (%s) rbl rule (%s checked type, %s whitelist type)',
req_str, wl.type, wl.symbol, what, wl.type)
if wl.type == what then
-- Add symbol option (0.0 / 0.0 is used to denounce NAN that prevents score modification)
task:adjust_result(wl.symbol, 0.0 / 0.0, rule.symbol)

正在加载...
取消
保存