aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/metadata_exporter.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/metadata_exporter.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/metadata_exporter.lua')
-rw-r--r--src/plugins/lua/metadata_exporter.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/metadata_exporter.lua b/src/plugins/lua/metadata_exporter.lua
index d2d12cad5..3569650ab 100644
--- a/src/plugins/lua/metadata_exporter.lua
+++ b/src/plugins/lua/metadata_exporter.lua
@@ -700,6 +700,7 @@ for k, r in pairs(settings.rules) do
name = 'EXPORT_METADATA_' .. k,
type = 'postfilter,idempotent',
callback = gen_exporter(r),
- priority = 10
+ priority = 10,
+ flags = 'empty',
})
end