]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] antivirus/ext_services - add default scores 3681/head
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>
Mon, 22 Mar 2021 10:11:12 +0000 (11:11 +0100)
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>
Mon, 22 Mar 2021 10:11:12 +0000 (11:11 +0100)
src/plugins/lua/antivirus.lua
src/plugins/lua/external_services.lua

index 0dad933b9491bb936e0f72ad6dada1ef426d8bb6..18d41dbb602c5f0fc489d1480ef56f5039d9f237 100644 (file)
@@ -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
index 2dd55e3605eb85a980e8a8235aa798497880e865..0157d15a997e00ecade276fd026af2d679123911 100644 (file)
@@ -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