Browse Source

[Minor] Add 'no action' as available threshold

tags/1.7.5
Vsevolod Stakhov 6 years ago
parent
commit
fb466004e6
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      lualib/lua_cfg_transform.lua

+ 2
- 1
lualib/lua_cfg_transform.lua View File

@@ -241,7 +241,8 @@ return function(cfg)
logger.errx('no actions defined')
else
-- Perform sanity check for actions
local actions_defs = {'greylist', 'add header', 'add_header',
local actions_defs = {'no action', 'no_action', -- In case if that's added
'greylist', 'add header', 'add_header',
'rewrite subject', 'rewrite_subject', 'reject'}

if not cfg.actions['no action'] and not cfg.actions['no_action'] and

Loading…
Cancel
Save