From: Francois Lesueur Date: Wed, 3 Sep 2025 08:33:55 +0000 (+0200) Subject: Fix score calculation for dcc X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5600%2Fhead;p=thirdparty%2Frspamd.git Fix score calculation for dcc --- diff --git a/lualib/lua_scanners/dcc.lua b/lualib/lua_scanners/dcc.lua index 186d1543db..32936226e2 100644 --- a/lualib/lua_scanners/dcc.lua +++ b/lualib/lua_scanners/dcc.lua @@ -223,7 +223,7 @@ local function dcc_check(task, content, digest, rule) if rnum and rnum >= lim then opts[#opts + 1] = string.format('%s=%s', what, num) - score = score * rep + score = score + (rep / 3.0) end end