]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] DMARC: Correctly set write flag
authorAndrew Lewis <nerf@judo.za.org>
Fri, 19 May 2017 15:16:10 +0000 (17:16 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 29 May 2017 09:15:05 +0000 (11:15 +0200)
src/plugins/lua/dmarc.lua

index 9b4e7f1496fb85a3ff3b4fb8a8f7f0ed3a16c31f..4b4f4c33dc8d196ef127973ba8bdc9f5be90ffc1 100644 (file)
@@ -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}