aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/greylist.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-17 16:23:45 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-17 16:23:45 +0100
commitec65afa2eff32bf4ea72502a7d4d46d6340e779b (patch)
treedb5d64819aa66856a7b718f60b7a6afa518df3fb /src/plugins/lua/greylist.lua
parent5ba9ba75fc19c62ca36198b8e1998412ecebdc07 (diff)
downloadrspamd-ec65afa2eff32bf4ea72502a7d4d46d6340e779b.tar.gz
rspamd-ec65afa2eff32bf4ea72502a7d4d46d6340e779b.zip
[Rework] Adopt plugins
Diffstat (limited to 'src/plugins/lua/greylist.lua')
-rw-r--r--src/plugins/lua/greylist.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua
index e8f94101c..35d69ec14 100644
--- a/src/plugins/lua/greylist.lua
+++ b/src/plugins/lua/greylist.lua
@@ -145,7 +145,7 @@ local function greylist_check(task)
local hash_key = body_key .. meta_key
local upstream
- local function redis_set_cb(task, err, data)
+ local function redis_set_cb(err, data)
if not err then
upstream:ok()
else
@@ -154,7 +154,7 @@ local function greylist_check(task)
end
end
- local function redis_get_cb(task, err, data)
+ local function redis_get_cb(err, data)
local ret_body = false
local greylisted_body = false
local ret_meta = false
@@ -240,7 +240,7 @@ local function greylist_set(task)
local upstream, ret, conn
local hash_key = body_key .. meta_key
- local function redis_set_cb(task, err, data)
+ local function redis_set_cb(err, data)
if not err then
upstream:ok()
else