From c2c22ebd53bbd65fb062a34c262005d72935814f Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Sun, 26 Mar 2017 18:27:18 +0200 Subject: [PATCH] [Minor] Fix typos --- src/plugins/lua/greylist.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua index f1dd34953..d8f3206d1 100644 --- a/src/plugins/lua/greylist.lua +++ b/src/plugins/lua/greylist.lua @@ -206,7 +206,7 @@ local function greylist_check(task) else task:set_pre_result('soft reject', settings['message']) end - task:set_flags('greylisted') + task:set_flag('greylisted') end elseif err then rspamd_logger.errx(task, 'got error while getting greylisting keys: %1', err) @@ -334,7 +334,7 @@ local function greylist_set(task) 'new record') if not qid then return end task:set_pre_result(settings['action'], settings['message']) - task:set_flags('greylisted') + task:set_flag('greylisted') -- Create new record ret,conn,upstream = rspamd_redis_make_request(task, redis_params, -- connect params @@ -374,7 +374,7 @@ local function greylist_set(task) task:set_metric_action('default', settings['action']) if not qid then return end task:set_pre_result(settings['action'], settings['message']) - task:set_flags('greylisted') + task:set_flag('greylisted') else task:insert_result(settings['symbol'], 0.0, 'greylisted', 'passed') end -- 2.39.5