diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-09-01 19:43:21 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-09-02 08:50:02 +0200 |
commit | bf85725b9c351bfed3bf474e9379bd5ae3ec8551 (patch) | |
tree | 426d6c3f66be4ccf0ba202d19c920502b59b2ab2 | |
parent | 2d90a61b3a70bc75735575435276c9226c7f2c0f (diff) | |
download | rspamd-bf85725b9c351bfed3bf474e9379bd5ae3ec8551.tar.gz rspamd-bf85725b9c351bfed3bf474e9379bd5ae3ec8551.zip |
[Minor] Fix log message; don't use legacy API
-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 |