commit b71ee0b: [Fix] Emails: Fix misprint in key name

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Jul 19 08:21:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-19 09:17:14 +0100
URL: https://github.com/rspamd/rspamd/commit/b71ee0b650b2772768fa725c1cc86200ae9cc60f (HEAD -> master)

[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


More information about the Commits mailing list