diff options
Diffstat (limited to 'lualib/lua_redis.lua')
-rw-r--r-- | lualib/lua_redis.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua index ee015fef2..067353abc 100644 --- a/lualib/lua_redis.lua +++ b/lualib/lua_redis.lua @@ -98,6 +98,8 @@ local function try_load_redis_servers(options, rspamd_config, result) result['db'] = tostring(options['db']) elseif options['dbname'] then result['db'] = tostring(options['dbname']) + elseif options['database'] then + result['db'] = tostring(options['database']) end end if options['password'] and not result['password'] then |