diff options
author | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2019-01-18 14:33:38 +0100 |
---|---|---|
committer | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2019-01-18 14:33:38 +0100 |
commit | 4d152f93625f6a9249bb2f9a4e1c5e19227f7029 (patch) | |
tree | 6276ced3dd06d4dafc2697f01c32cbbb42cff941 /src/plugins/lua/external_services.lua | |
parent | 968d92d048430fd26ad86e741c7e73d83a9c1ca7 (diff) | |
download | rspamd-4d152f93625f6a9249bb2f9a4e1c5e19227f7029.tar.gz rspamd-4d152f93625f6a9249bb2f9a4e1c5e19227f7029.zip |
[Minor] lua_scanners - use pattern for FAIL symbol
Diffstat (limited to 'src/plugins/lua/external_services.lua')
-rw-r--r-- | src/plugins/lua/external_services.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/external_services.lua b/src/plugins/lua/external_services.lua index 8e101ab9a..8215279c7 100644 --- a/src/plugins/lua/external_services.lua +++ b/src/plugins/lua/external_services.lua @@ -148,6 +148,7 @@ local function add_scanner_rule(sym, opts) end rule.patterns = common.create_regex_table(opts.patterns or {}) + rule.patterns_fail = common.create_regex_table(opts.patterns_fail or {}) rule.mime_parts_filter_regex = common.create_regex_table(opts.mime_parts_filter_regex or {}) |