aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/rspamadm/configwizard.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-23 15:08:52 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-23 15:08:52 +0000
commit7e62a09e0ba8645cd03dfed3e381a7f00d571683 (patch)
treeae5578d8c4ba16ff0f8b6ec5194017663115edaa /lualib/rspamadm/configwizard.lua
parent0117e1a6848b441af45be3b564ecf727f58022dd (diff)
downloadrspamd-7e62a09e0ba8645cd03dfed3e381a7f00d571683.tar.gz
rspamd-7e62a09e0ba8645cd03dfed3e381a7f00d571683.zip
[Minor] Shut up luacheck again
Diffstat (limited to 'lualib/rspamadm/configwizard.lua')
-rw-r--r--lualib/rspamadm/configwizard.lua3
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