From: Carsten Rosenberg Date: Mon, 22 Mar 2021 10:11:12 +0000 (+0100) Subject: [Minor] antivirus/ext_services - add default scores X-Git-Tag: 3.0~563^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5d546fde273b815d976fd2eccf37a49a2e3471bb;p=rspamd.git [Minor] antivirus/ext_services - add default scores --- diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua index 0dad933b9..18d41dbb6 100644 --- a/src/plugins/lua/antivirus.lua +++ b/src/plugins/lua/antivirus.lua @@ -215,6 +215,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -226,6 +227,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -247,6 +249,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -258,6 +261,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end diff --git a/src/plugins/lua/external_services.lua b/src/plugins/lua/external_services.lua index 2dd55e360..0157d15a9 100644 --- a/src/plugins/lua/external_services.lua +++ b/src/plugins/lua/external_services.lua @@ -273,6 +273,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -284,6 +285,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -304,6 +306,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -315,6 +318,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end