From: Andrew Lewis Date: Wed, 24 Jan 2018 10:19:36 +0000 (+0200) Subject: [Minor] Silence luacheck X-Git-Tag: 1.6.6~3^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=615e9f05499975a82812e4a600b38d467f5f2cc5;p=thirdparty%2Frspamd.git [Minor] Silence luacheck --- diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua index d41ac0c988..4c9f43b787 100644 --- a/lualib/lua_redis.lua +++ b/lualib/lua_redis.lua @@ -77,7 +77,7 @@ local function rspamd_parse_redis_server(module_name, module_opts, no_fallback) else opts = module_opts end - local ret = false + local ret if opts then if opts.redis then