summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-06-18 19:57:29 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-06-18 19:57:29 +0100
commitadd8df37e786e5d4eeb19467bc2f06aa23c61791 (patch)
tree87ba5255810b42dc0f5a419ee26e2ecc610876d9
parentd1946842f33baa0e45caa0f724f911cc789ee738 (diff)
downloadrspamd-add8df37e786e5d4eeb19467bc2f06aa23c61791.tar.gz
rspamd-add8df37e786e5d4eeb19467bc2f06aa23c61791.zip
[Minor] Use 1.0 as static score for dynamic symbols, erm
-rw-r--r--src/plugins/lua/multimap.lua2
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,
})