diff options
-rw-r--r-- | src/plugins/lua/ratelimit.lua | 2 | ||||
-rw-r--r-- | src/plugins/lua/trie.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index 0d3690cb3..a92c03d3a 100644 --- a/src/plugins/lua/ratelimit.lua +++ b/src/plugins/lua/ratelimit.lua @@ -480,7 +480,7 @@ if opts then end if opts['whitelisted_user'] then - whitelisted_user = rspamd_config:add_kv_map(opts['whitelisted_user'], 'Ratelimit whitelist user map') + whitelisted_user = rspamd_config:add_map(opts['whitelisted_user'], 'Ratelimit whitelist user map') end if opts['symbol'] then diff --git a/src/plugins/lua/trie.lua b/src/plugins/lua/trie.lua index ca5cbea54..783255b89 100644 --- a/src/plugins/lua/trie.lua +++ b/src/plugins/lua/trie.lua @@ -173,5 +173,5 @@ if opts then end end else - rspamd_logger.info("Module is disabled") + rspamd_logger.info("Module is unconfigured") end |