From: jonmoesli Date: Tue, 8 Nov 2022 07:41:38 +0000 (+0100) Subject: Remove whitespaces from empty line X-Git-Tag: 3.5~219^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=49f8f939130f76820692235da59c8b5afa100f11;p=rspamd.git Remove whitespaces from empty line --- 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