aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/asn.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2018-03-13 12:42:37 +0200
committerAndrew Lewis <nerf@judo.za.org>2018-03-13 12:42:37 +0200
commit491548856632c22c179aa47c90df7afd44c75cd2 (patch)
tree3d60196edd9f9f5cccf8bfb7996047f3119a421f /src/plugins/lua/asn.lua
parent6b68e89410bf70ca4de74aad125d16bcecf99f62 (diff)
downloadrspamd-491548856632c22c179aa47c90df7afd44c75cd2.tar.gz
rspamd-491548856632c22c179aa47c90df7afd44c75cd2.zip
[Fix] Fix various modules in case of empty message
Diffstat (limited to 'src/plugins/lua/asn.lua')
-rw-r--r--src/plugins/lua/asn.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/lua/asn.lua b/src/plugins/lua/asn.lua
index a125b99c1..3e84a3824 100644
--- a/src/plugins/lua/asn.lua
+++ b/src/plugins/lua/asn.lua
@@ -108,12 +108,14 @@ if configure_asn_module() then
type = 'prefilter,nostat',
callback = asn_check,
priority = 5,
+ flags = 'empty',
})
if options['symbol'] then
rspamd_config:register_symbol({
name = options['symbol'],
parent = id,
- type = 'virtual'
+ type = 'virtual',
+ flags = 'empty',
})
end
else