Skip to content

Commit

Permalink
[Minor] Use 1.0 as static score for dynamic symbols, erm
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Jun 18, 2023
1 parent d194684 commit add8df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/lua/multimap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit add8df3

Please sign in to comment.