aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-02 18:29:08 +0100
committerGitHub <noreply@github.com>2016-09-02 18:29:08 +0100
commit72f8631ca8ecfa97fca8cb48adbc26f22e08f23b (patch)
treea4f923b340a5d3f4ff8cf0d19c5f36f6887c68db /src/plugins
parent66a7ef2d1f692978549a72f01a99b7789d22005f (diff)
parentbf85725b9c351bfed3bf474e9379bd5ae3ec8551 (diff)
downloadrspamd-72f8631ca8ecfa97fca8cb48adbc26f22e08f23b.tar.gz
rspamd-72f8631ca8ecfa97fca8cb48adbc26f22e08f23b.zip
Merge pull request #926 from fatalbanana/minor
[Minor] Fix log message; don't use legacy API
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/ratelimit.lua2
-rw-r--r--src/plugins/lua/trie.lua2
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