]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Rbl: Fix log message
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 17 Apr 2020 10:53:46 +0000 (11:53 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 17 Apr 2020 10:53:46 +0000 (11:53 +0100)
src/plugins/lua/rbl.lua

index 09ac69c9423ff30d19fe0fab42651d558c237512..1e339b1f5cc628131491b373ef6864dd178b795e 100644 (file)
@@ -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)