diff options
author | jonmoesli <jonathan.moesli@yahoo.com> | 2022-11-08 08:41:38 +0100 |
---|---|---|
committer | jonmoesli <jonathan.moesli@yahoo.com> | 2022-11-08 08:41:38 +0100 |
commit | 49f8f939130f76820692235da59c8b5afa100f11 (patch) | |
tree | 3fd73fa68cb550777105eba4bd2d30c45b1468de /src/plugins/lua/antivirus.lua | |
parent | 89fb91b649428dd8177cd7f431265d8a88634f79 (diff) | |
download | rspamd-49f8f939130f76820692235da59c8b5afa100f11.tar.gz rspamd-49f8f939130f76820692235da59c8b5afa100f11.zip |
Remove whitespaces from empty line
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 39d11c8ec..82412e660 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 |