Browse Source

Fix if-else condition

tags/1.4.0
AL 7 years ago
parent
commit
4cfb22716f
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/plugins/lua/greylist.lua

+ 2
- 1
src/plugins/lua/greylist.lua View File

@@ -276,7 +276,8 @@ local function greylist_set(task)

local action = task:get_metric_action('default')
if action == 'reject' then return end
if do_greylisting_required and do_greylisting_required ~= "1" then return end
if do_greylisting_required and do_greylisting_required ~= "1" then
return
else
if action == 'no action' then return end
end

Loading…
Cancel
Save