diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-11-13 13:13:47 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-11-13 13:13:47 +0200 |
commit | c45aaab61f20780e889a8e79d03c9eca23d7f4d6 (patch) | |
tree | a87605856dded7ba943ffbd4325751e6e3c8bce7 /rules/http_headers.lua | |
parent | 3a145180bc1398ab06f25fee22baa9cd8757caa3 (diff) | |
download | rspamd-c45aaab61f20780e889a8e79d03c9eca23d7f4d6.tar.gz rspamd-c45aaab61f20780e889a8e79d03c9eca23d7f4d6.zip |
[Minor] Some linting for rules
Diffstat (limited to 'rules/http_headers.lua')
-rw-r--r-- | rules/http_headers.lua | 4 |
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 |