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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3681%2Fhead;p=thirdparty%2Frspamd.git [Minor] antivirus/ext_services - add default scores --- diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua index 0dad933b94..18d41dbb60 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 2dd55e3605..0157d15a99 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