From d35601b669b82ade6f3423709dcd3a568a83848b Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Wed, 29 Mar 2017 12:36:16 +0200 Subject: [Fix] Fix ip_score map configuration - Issue: #1563 - Reported by: @Dmitry55 --- src/plugins/lua/ip_score.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/lua/ip_score.lua b/src/plugins/lua/ip_score.lua index 04f1fb06e..4d9573382 100644 --- a/src/plugins/lua/ip_score.lua +++ b/src/plugins/lua/ip_score.lua @@ -353,10 +353,10 @@ local configure_ip_score_module = function() rspamd_logger.infox(rspamd_config, 'no servers are specified') return end - whitelist = rspamd_map_add('ip_score', 'asn_cc_whitelist', 'map', - 'IP score whitelisted ips') - asn_cc_whitelist = rspamd_map_add('ip_score', 'whitelist', 'radix', + asn_cc_whitelist = rspamd_map_add('ip_score', 'asn_cc_whitelist', 'map', 'IP score whitelisted ASNs/countries') + whitelist = rspamd_map_add('ip_score', 'whitelist', 'radix', + 'IP score whitelisted ips') return true end -- cgit v1.2.3