aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-12-12 14:03:01 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-12-12 14:09:10 +0200
commitefa90ef39df5c51670ac20f95046f3a56b86ab40 (patch)
tree09b68ab2022bb24b4248d3503f36fd39a72fad78 /src/plugins/lua
parentcb80955dc6fed7de8c8c66ab740dae4c27722bbc (diff)
downloadrspamd-efa90ef39df5c51670ac20f95046f3a56b86ab40.tar.gz
rspamd-efa90ef39df5c51670ac20f95046f3a56b86ab40.zip
[Fix] Multimap: received: filtering of artificial header
Diffstat (limited to 'src/plugins/lua')
-rw-r--r--src/plugins/lua/multimap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua
index 584978453..252c592ff 100644
--- a/src/plugins/lua/multimap.lua
+++ b/src/plugins/lua/multimap.lua
@@ -792,7 +792,7 @@ local function multimap_callback(task, rule)
if hdrs and hdrs[1] then
if not rule['artificial'] then
hdrs = fun.filter(function(h)
- return not h['artificial']
+ return not h['flags']['artificial']
end, hdrs):totable()
end
for pos, h in ipairs(hdrs) do