From: Andrew Lewis Date: Sun, 26 Mar 2017 16:27:18 +0000 (+0200) Subject: [Minor] Fix typos X-Git-Tag: 1.5.4~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c2c22ebd53bbd65fb062a34c262005d72935814f;p=rspamd.git [Minor] Fix typos --- 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