diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-05-17 17:08:38 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-05-17 17:09:17 +0200 |
commit | 76159df4b2ee19ea36d5809e8a1a68e58fa12d5f (patch) | |
tree | a2e390e9101ed92933ba5ccde490dec9d8d8018f /src/plugins/lua/dmarc.lua | |
parent | 5af7c8321b867fde8414ac1b9daaeedb695cb231 (diff) | |
download | rspamd-76159df4b2ee19ea36d5809e8a1a68e58fa12d5f.tar.gz rspamd-76159df4b2ee19ea36d5809e8a1a68e58fa12d5f.zip |
[Minor] DMARC: s/type/format/
Diffstat (limited to 'src/plugins/lua/dmarc.lua')
-rw-r--r-- | src/plugins/lua/dmarc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua index f27ca2a23..377ecc30f 100644 --- a/src/plugins/lua/dmarc.lua +++ b/src/plugins/lua/dmarc.lua @@ -574,7 +574,7 @@ local function dmarc_callback(task) end end -- Prepare and send redis report element - local period = os.date('%Y%m%d', task:get_date({type = 'connect', gmt = true})) + local period = os.date('%Y%m%d', task:get_date({format = 'connect', gmt = true})) local dmarc_domain_key = table.concat({redis_keys.report_prefix, hfromdom, period}, redis_keys.join_char) local report_data = dmarc_report(task, spf_ok and 'pass' or 'fail', dkim_ok and 'pass' or 'fail', disposition, sampled_out, hfromdom, spf_domain, dkim_results, spf_result) |