From: Vsevolod Stakhov Date: Tue, 15 Sep 2020 15:55:26 +0000 (+0100) Subject: [Minor] Neural: Fix error in Redis script X-Git-Tag: 2.6~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60508a64e943d4c77d67d1739320bf47cbd69558;p=thirdparty%2Frspamd.git [Minor] Neural: Fix error in Redis script --- diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua index 5d2e9bfd55..eda089abca 100644 --- a/src/plugins/lua/neural.lua +++ b/src/plugins/lua/neural.lua @@ -116,7 +116,7 @@ local redis_lua_script_vectors_len = [[ local locked = redis.call('HGET', prefix, 'lock') if locked then local host = redis.call('HGET', prefix, 'hostname') or 'unknown' - return string.format('%s:%s', hostname, locked) + return string.format('%s:%s', host, locked) end local nspam = 0 local nham = 0