]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Pet luacheck
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 8 Nov 2022 20:36:33 +0000 (20:36 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 8 Nov 2022 20:36:33 +0000 (20:36 +0000)
src/plugins/lua/antivirus.lua

index 82412e660d6a30616801fd11b4a868c4e7ceec28..1623d33e8699bb7e0c29e99a2fc1650b589c8209 100644 (file)
@@ -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