From: Vsevolod Stakhov Date: Sat, 7 May 2022 13:40:58 +0000 (+0100) Subject: [Minor] Maillist: Fix checks logic X-Git-Tag: 3.3~269 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=691ec14cc2c40a5fb891d01de4358a3275722ad4;p=thirdparty%2Frspamd.git [Minor] Maillist: Fix checks logic --- diff --git a/src/plugins/lua/maillist.lua b/src/plugins/lua/maillist.lua index 81e046928c..c639dc2dc1 100644 --- a/src/plugins/lua/maillist.lua +++ b/src/plugins/lua/maillist.lua @@ -221,7 +221,7 @@ local function check_generic_list_headers(task) lua_util.debugm(N, task, 'has %s header, score = %s', hname, score) else local score_change = hscore() - if score then + if score and score_change then score = score + score_change lua_util.debugm(N, task, 'has %s header, score = %s', hname, score) end