diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-11-08 20:36:33 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-11-08 20:36:33 +0000 |
commit | b9b54acce5e3ffaa1ba2af8868dfd962960ab315 (patch) | |
tree | 370e56c552615b412d45f9e78b7975df486d8fab /src/plugins/lua/antivirus.lua | |
parent | c172190f574def2f50bcf6e62e48e98349dd96b5 (diff) | |
download | rspamd-b9b54acce5e3ffaa1ba2af8868dfd962960ab315.tar.gz rspamd-b9b54acce5e3ffaa1ba2af8868dfd962960ab315.zip |
[Minor] Pet luacheck
Diffstat (limited to 'src/plugins/lua/antivirus.lua')
-rw-r--r-- | src/plugins/lua/antivirus.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua index 82412e660..1623d33e8 100644 --- a/src/plugins/lua/antivirus.lua +++ b/src/plugins/lua/antivirus.lua @@ -148,7 +148,7 @@ local function add_antivirus_rule(sym, opts) rule.mime_parts_filter_regex = common.create_regex_table(opts.mime_parts_filter_regex or {}) rule.mime_parts_filter_ext = common.create_regex_table(opts.mime_parts_filter_ext or {}) - + if opts.whitelist then rule.whitelist = rspamd_config:add_hash_map(opts.whitelist) end |