From: Andrew Lewis Date: Thu, 1 Sep 2016 17:43:21 +0000 (+0200) Subject: [Minor] Fix log message; don't use legacy API X-Git-Tag: 1.4.0~499^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F926%2Fhead;p=thirdparty%2Frspamd.git [Minor] Fix log message; don't use legacy API --- diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index 0d3690cb3c..a92c03d3a1 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 ca5cbea54c..783255b89e 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