diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-06-18 19:57:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-06-18 19:57:29 +0100 |
commit | add8df37e786e5d4eeb19467bc2f06aa23c61791 (patch) | |
tree | 87ba5255810b42dc0f5a419ee26e2ecc610876d9 /src | |
parent | d1946842f33baa0e45caa0f724f911cc789ee738 (diff) | |
download | rspamd-add8df37e786e5d4eeb19467bc2f06aa23c61791.tar.gz rspamd-add8df37e786e5d4eeb19467bc2f06aa23c61791.zip |
[Minor] Use 1.0 as static score for dynamic symbols, erm
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/multimap.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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, }) |