diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-17 13:35:17 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-17 13:35:40 +0100 |
commit | 99d4c15237cf8647ca8fd3948c6ebff18149aa65 (patch) | |
tree | c416b46eea80e31e7ff43546198e50fd2230be55 /lualib/lua_cfg_transform.lua | |
parent | 58b164cfeac4c8c9ed1a3a310a7bcd371c830aa4 (diff) | |
download | rspamd-99d4c15237cf8647ca8fd3948c6ebff18149aa65.tar.gz rspamd-99d4c15237cf8647ca8fd3948c6ebff18149aa65.zip |
[Minor] Another fix for expect_ip, sigh..
Diffstat (limited to 'lualib/lua_cfg_transform.lua')
-rw-r--r-- | lualib/lua_cfg_transform.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua index b6919cb10..3a3b8e0ee 100644 --- a/lualib/lua_cfg_transform.lua +++ b/lualib/lua_cfg_transform.lua @@ -327,10 +327,11 @@ local function emails_section_convert(cfg, section) if k == 'expect_ip' then -- Another stupid hack if not converted.return_codes then - converted.return_codes = {} + converted.returncodes = {} end local symbol = value.symbol or name - converted.return_codes[symbol] = { v } + converted.returncodes[symbol] = { v } + skip = true end if not skip then |