Bläddra i källkod

[Minor] Rbl: Fix log message

tags/2.6
Vsevolod Stakhov 4 år sedan
förälder
incheckning
848ad88460
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      src/plugins/lua/rbl.lua

+ 2
- 2
src/plugins/lua/rbl.lua Visa fil

@@ -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)

Laddar…
Avbryt
Spara