aboutsummaryrefslogtreecommitdiffstats
path: root/rules/http_headers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rules/http_headers.lua')
-rw-r--r--rules/http_headers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/http_headers.lua b/rules/http_headers.lua
index ceb1893df..04e9b5dd4 100644
--- a/rules/http_headers.lua
+++ b/rules/http_headers.lua
@@ -54,7 +54,7 @@ if opts and opts['symbols'] then
end
end
-local opts = rspamd_config:get_all_opt('dkim')
+opts = rspamd_config:get_all_opt('dkim')
if opts then
for k,_ in pairs(dkim_symbols) do
if opts[k] then
@@ -63,7 +63,7 @@ if opts then
end
end
-local opts = rspamd_config:get_all_opt('spf')
+opts = rspamd_config:get_all_opt('spf')
if opts then
for k,_ in pairs(spf_symbols) do
if opts[k] then