]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Ratelimit: Add implicit score
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 6 Oct 2020 08:53:02 +0000 (09:53 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 6 Oct 2020 08:53:02 +0000 (09:53 +0100)
src/plugins/lua/ratelimit.lua

index db65415a900c831a3b90414be782aaa04eb3349c..cd9af6dfe9406750aae7caa87385fa5521bf6f6d 100644 (file)
@@ -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)