diff options
author | Andrej Zverev <andrej.zverev@gmail.com> | 2016-11-29 11:19:13 +0300 |
---|---|---|
committer | Andrej Zverev <andrej.zverev@gmail.com> | 2016-11-29 11:19:13 +0300 |
commit | 5aa56ccf9230531b559985453e28aa807354bc06 (patch) | |
tree | d0eccbbb7d0f72552f7a45fe8f5d8085f7e6833e /src/plugins | |
parent | 772675891245a9fec6ba56ec1e4c9b9aaa48f3f4 (diff) | |
download | rspamd-5aa56ccf9230531b559985453e28aa807354bc06.tar.gz rspamd-5aa56ccf9230531b559985453e28aa807354bc06.zip |
Fix typo when calling rspamd_redis_make_request for write operation.
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/mx_check.lua | 4 |
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 |