commit b9b54ac: [Minor] Pet luacheck
Vsevolod Stakhov
vsevolod at rspamd.com
Tue Nov 8 20:42:06 UTC 2022
Author: Vsevolod Stakhov
Date: 2022-11-08 20:36:33 +0000
URL: https://github.com/rspamd/rspamd/commit/b9b54acce5e3ffaa1ba2af8868dfd962960ab315 (HEAD -> master)
[Minor] Pet luacheck
---
src/plugins/lua/antivirus.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the Commits
mailing list