summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/greylist.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-15 18:34:50 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-15 18:35:16 +0000
commitc9064c6d065f11fe75508b5f80e608cb947f139e (patch)
tree500121f6035cbbd65cd21ebd02bd9b6f695bcb35 /src/plugins/lua/greylist.lua
parentdae3d696aa1d8092c570e65d815e7c8f0a137f76 (diff)
downloadrspamd-c9064c6d065f11fe75508b5f80e608cb947f139e.tar.gz
rspamd-c9064c6d065f11fe75508b5f80e608cb947f139e.zip
[Minor] Use regexps for greylist whitelist
Diffstat (limited to 'src/plugins/lua/greylist.lua')
-rw-r--r--src/plugins/lua/greylist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua
index 1cb94b6aa..407652b6e 100644
--- a/src/plugins/lua/greylist.lua
+++ b/src/plugins/lua/greylist.lua
@@ -378,7 +378,7 @@ if opts then
whitelisted_ip = rspamd_map_add('greylist', 'whitelisted_ip', 'radix',
'Greylist whitelist ip map')
whitelist_domains_map = rspamd_map_add('greylist', 'whitelist_domains_url',
- 'map', 'Greylist whitelist domains map')
+ 'regexp', 'Greylist whitelist domains map')
redis_params = rspamd_parse_redis_server('greylist')
if not redis_params then