]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Settings: correctly read redis config 1168/head
authorAndrew Lewis <nerf@judo.za.org>
Wed, 23 Nov 2016 16:25:42 +0000 (18:25 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Wed, 23 Nov 2016 16:25:42 +0000 (18:25 +0200)
src/plugins/lua/settings.lua

index 76898ae589747ef53e1e6ec61a0a8461b0e8eabf..cdff4b853d61382bf64996a060a0348a404bd4f0 100644 (file)
@@ -566,7 +566,7 @@ local redis_section = rspamd_config:get_all_opt("settings_redis")
 local redis_key_handlers = {}
 
 if redis_section then
-  redis_params = rspamd_parse_redis_server('replies')
+  redis_params = rspamd_parse_redis_server('settings_redis')
   if redis_params then
     local handlers = redis_section.handlers