summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/headers_checks.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/headers_checks.lua b/rules/headers_checks.lua
index d88847003..7a02bc2eb 100644
--- a/rules/headers_checks.lua
+++ b/rules/headers_checks.lua
@@ -42,7 +42,7 @@ local rcvd_cb_id = rspamd_config:register_symbol{
local nreceived = fun.reduce(function(acc, rcvd)
return acc + 1
end, 0, fun.filter(function(h)
- return not h['artificial']
+ return not h['flags']['artificial']
end, received))
for k,v in pairs(cnts) do