diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-11-16 10:17:42 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-11-16 10:17:42 +0200 |
commit | 03e3d7063308dd169d5b1692ccd28403c16ddd76 (patch) | |
tree | 7eca2b3fbfd8538fd13401fabb242e9570a0924b /src/plugins/lua/replies.lua | |
parent | a5eef8b08ca4ea69cc3c5bb718102fe24f20a61b (diff) | |
download | rspamd-03e3d7063308dd169d5b1692ccd28403c16ddd76.tar.gz rspamd-03e3d7063308dd169d5b1692ccd28403c16ddd76.zip |
[Minor] Small polishes for Lua parts
Diffstat (limited to 'src/plugins/lua/replies.lua')
-rw-r--r-- | src/plugins/lua/replies.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/replies.lua b/src/plugins/lua/replies.lua index 314f09083..c8e4bb6b6 100644 --- a/src/plugins/lua/replies.lua +++ b/src/plugins/lua/replies.lua @@ -65,7 +65,7 @@ local function replies_check(task) -- Create hash of in-reply-to and query redis local key = make_key(irt) - local ret,_,_ = rspamd_redis_make_request(task, + local ret = rspamd_redis_make_request(task, redis_params, -- connect params key, -- hash key false, -- is write @@ -96,7 +96,7 @@ local function replies_set(task) end -- Create hash of message-id and store to redis local key = make_key(msg_id) - local ret,_,_ = rspamd_redis_make_request(task, + local ret = rspamd_redis_make_request(task, redis_params, -- connect params key, -- hash key true, -- is write |