aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/multimap.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-15 11:24:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-15 11:24:21 +0100
commit6541d1c6925d3cda8b2f1751445b409fde28c768 (patch)
treec1afabe29b44a9c18232637a2518dac936b52581 /src/plugins/lua/multimap.lua
parentad78012dd91c21820437f03e1864ea2d497c8b8d (diff)
downloadrspamd-6541d1c6925d3cda8b2f1751445b409fde28c768.tar.gz
rspamd-6541d1c6925d3cda8b2f1751445b409fde28c768.zip
[Minor] Add more default scores :(
Diffstat (limited to 'src/plugins/lua/multimap.lua')
-rw-r--r--src/plugins/lua/multimap.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua
index f82a4fb38..1ef2dbe12 100644
--- a/src/plugins/lua/multimap.lua
+++ b/src/plugins/lua/multimap.lua
@@ -1260,7 +1260,8 @@ if opts and type(opts) == 'table' then
rspamd_config:register_symbol({
type = 'virtual',
name = s,
- parent = id
+ parent = id,
+ score = 0, -- Default score
})
rule['symbols_set'][s] = 1
end, rule['symbols'])