diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-03-26 18:27:18 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-03-26 18:27:18 +0200 |
commit | c2c22ebd53bbd65fb062a34c262005d72935814f (patch) | |
tree | 1962a3f989b0cae846f3c695c1547881afd52cfa /src/plugins | |
parent | 7d85a76c37ecd30096dda517a4b464465f6a03ae (diff) | |
download | rspamd-c2c22ebd53bbd65fb062a34c262005d72935814f.tar.gz rspamd-c2c22ebd53bbd65fb062a34c262005d72935814f.zip |
[Minor] Fix typos
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/greylist.lua | 6 |
1 files 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 |