From: Vsevolod Stakhov Date: Sun, 18 Jun 2023 18:57:29 +0000 (+0100) Subject: [Minor] Use 1.0 as static score for dynamic symbols, erm X-Git-Tag: 3.6~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=add8df37e786e5d4eeb19467bc2f06aa23c61791;p=rspamd.git [Minor] Use 1.0 as static score for dynamic symbols, erm --- diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index b15ec2cf6..0e78a6e2c 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -1024,7 +1024,7 @@ local function multimap_on_load_gen(rule) } rspamd_config:set_metric_symbol({ group = N, - score = score, + score = 1.0, -- In future, we will parse score from `get_value` and use it as multiplier description = 'Automatic symbol generated by rule: ' .. rule.symbol, name = value, })