aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/mx_check.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/mx_check.lua b/src/plugins/lua/mx_check.lua
index 6d333350d..db2e51369 100644
--- a/src/plugins/lua/mx_check.lua
+++ b/src/plugins/lua/mx_check.lua
@@ -80,7 +80,7 @@ local function mx_check(task)
local ret = rspamd_redis_make_request(task,
redis_params, -- connect params
key, -- hash key
- false, -- is write
+ true, -- is write
redis_cache_cb, --callback
'SETEX', -- command
{key, tostring(settings.expire_novalid), '0'} -- arguments
@@ -97,7 +97,7 @@ local function mx_check(task)
local ret = rspamd_redis_make_request(task,
redis_params, -- connect params
key, -- hash key
- false, -- is write
+ true, -- is write
redis_cache_cb, --callback
'SETEX', -- command
{key, tostring(settings.expire), table.concat(valid_mx, ';')} -- arguments