aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-05-19 17:16:10 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-05-29 11:15:05 +0200
commit27b68824c6f847ef506095887f8ae7912603b42b (patch)
tree159795c10045efe73cb30dab59bafec441d984ca
parent888a22db34a9c1997a6d7ba431e9b27fbfcd702b (diff)
downloadrspamd-27b68824c6f847ef506095887f8ae7912603b42b.tar.gz
rspamd-27b68824c6f847ef506095887f8ae7912603b42b.zip
[Minor] DMARC: Correctly set write flag
-rw-r--r--src/plugins/lua/dmarc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua
index 9b4e7f149..4b4f4c33d 100644
--- a/src/plugins/lua/dmarc.lua
+++ b/src/plugins/lua/dmarc.lua
@@ -919,7 +919,7 @@ if opts['reporting'] == true then
rspamd_config,
redis_params,
nil,
- false, -- is write
+ true, -- is write
delete_reports_cb, --callback
'DEL', -- command
{report_key}
@@ -1086,7 +1086,7 @@ if opts['reporting'] == true then
rspamd_config,
redis_params,
nil,
- false, -- is write
+ true, -- is write
get_reporting_domain_cb, --callback
'SPOP', -- command
{idx_key}