Procházet zdrojové kódy

[Minor] Remove redundant metric name

pull/4910/head
Vsevolod Stakhov před 1 měsícem
rodič
revize
2715f24536
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/plugins/lua/greylist.lua

+ 1
- 1
src/plugins/lua/greylist.lua Zobrazit soubor

@@ -332,7 +332,7 @@ local function greylist_set(task)
-- We need to update this on each scan, as it can vary per settings or be redefined dynamically
local greylist_min_score = settings.greylist_min_score or rspamd_config:get_metric_action('greylist')
if greylist_min_score then
local score = task:get_metric_score('default')[1]
local score = task:get_metric_score()[1]
if score < greylist_min_score then
rspamd_logger.infox(task, 'Score too low - skip greylisting')
if action == 'greylist' then

Načítá se…
Zrušit
Uložit