diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-19 09:17:14 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-19 09:17:14 +0100 |
commit | b71ee0b650b2772768fa725c1cc86200ae9cc60f (patch) | |
tree | 18701d16fa0f8feca833030ee5d411d72b4a3567 | |
parent | 1172077098acc022e0769a2c9e33044a1070f03e (diff) | |
download | rspamd-b71ee0b650b2772768fa725c1cc86200ae9cc60f.tar.gz rspamd-b71ee0b650b2772768fa725c1cc86200ae9cc60f.zip |
[Fix] Emails: Fix misprint in key name
-rw-r--r-- | src/plugins/lua/emails.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |