aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/ratelimit.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-10-06 09:53:02 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-10-06 09:53:02 +0100
commit83bcd4071050fa82deed1428cc587a1574b9c507 (patch)
treeba3e41098542e36b69f7a51c34edba48f2a23fa2 /src/plugins/lua/ratelimit.lua
parent11d962e46a919a0ff78cc4b7d168825991f0e400 (diff)
downloadrspamd-83bcd4071050fa82deed1428cc587a1574b9c507.tar.gz
rspamd-83bcd4071050fa82deed1428cc587a1574b9c507.zip
[Minor] Ratelimit: Add implicit score
Diffstat (limited to 'src/plugins/lua/ratelimit.lua')
-rw-r--r--src/plugins/lua/ratelimit.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua
index db65415a9..cd9af6dfe 100644
--- a/src/plugins/lua/ratelimit.lua
+++ b/src/plugins/lua/ratelimit.lua
@@ -867,6 +867,7 @@ if opts then
s.name = settings.symbol
elseif settings.info_symbol then
s.name = settings.info_symbol
+ s.score = 0.0
end
rspamd_config:register_symbol(s)