diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-23 15:08:52 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-23 15:08:52 +0000 |
commit | 7e62a09e0ba8645cd03dfed3e381a7f00d571683 (patch) | |
tree | ae5578d8c4ba16ff0f8b6ec5194017663115edaa /lualib/rspamadm/configwizard.lua | |
parent | 0117e1a6848b441af45be3b564ecf727f58022dd (diff) | |
download | rspamd-7e62a09e0ba8645cd03dfed3e381a7f00d571683.tar.gz rspamd-7e62a09e0ba8645cd03dfed3e381a7f00d571683.zip |
[Minor] Shut up luacheck again
Diffstat (limited to 'lualib/rspamadm/configwizard.lua')
-rw-r--r-- | lualib/rspamadm/configwizard.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lualib/rspamadm/configwizard.lua b/lualib/rspamadm/configwizard.lua index 3aabea41f..5a42a8257 100644 --- a/lualib/rspamadm/configwizard.lua +++ b/lualib/rspamadm/configwizard.lua @@ -296,7 +296,6 @@ local function check_redis_classifier(cls, changes) -- Load symbols from statfiles local statfiles = cls.statfile for _,stf in ipairs(statfiles) do - local path = (stf.file or stf.path or stf.db or stf.dbname) local symbol = stf.symbol or 'undefined' local spam @@ -355,7 +354,7 @@ local function check_redis_classifier(cls, changes) printf("You are using an old schema for %s/%s", symbol_ham, symbol_spam) try_convert() else - local res,conn = lua_redis.redis_connect_sync(parsed_redis, true) + local _,conn = lua_redis.redis_connect_sync(parsed_redis, true) -- We still need to check versions local lua_script = [[ local ver = 0 |