From b71ee0b650b2772768fa725c1cc86200ae9cc60f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 19 Jul 2019 09:17:14 +0100 Subject: [PATCH] [Fix] Emails: Fix misprint in key name --- src/plugins/lua/emails.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/emails.lua b/src/plugins/lua/emails.lua index 1be193390..850cc51c0 100644 --- a/src/plugins/lua/emails.lua +++ b/src/plugins/lua/emails.lua @@ -243,7 +243,7 @@ if opts and type(opts) == 'table' then if rule['map'] then rule['name'] = rule['map'] - rule.map = lua_maps.map_add_from_ucl(rule.whitelist, + rule.map = lua_maps.map_add_from_ucl(rule.map, 'regexp', 'Emails rule %s whitelist', rule['symbol']) end if not rule['symbol'] or (not rule['map'] and not rule['dnsbl']) then -- 2.39.5