]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Emails: Fix misprint in key name
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 19 Jul 2019 08:17:14 +0000 (09:17 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 19 Jul 2019 08:17:14 +0000 (09:17 +0100)
src/plugins/lua/emails.lua

index 1be193390742ebe6e8cc6a282b83a52b149cd7cc..850cc51c011c73b4a9e3fcf10e5d36d74b23a590 100644 (file)
@@ -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