From: Vsevolod Stakhov Date: Mon, 15 May 2023 08:18:45 +0000 (+0100) Subject: [Minor] Fix old bug that score was not converted to a number X-Git-Tag: 3.6~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=51ea5d5f2683610ba1a09ce93647ded20daf1752;p=thirdparty%2Frspamd.git [Minor] Fix old bug that score was not converted to a number --- diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index 81f9149507..7f61a8b7e4 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -538,7 +538,7 @@ local function multimap_callback(task, rule) sym = tbl.symbol end if tbl.score then - score = tbl.score + score = tonumber(tbl.score) end if tbl.opts then opts = tbl.opts