diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-09-15 16:55:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-09-15 16:55:46 +0100 |
commit | 60508a64e943d4c77d67d1739320bf47cbd69558 (patch) | |
tree | d38fdc6d5bc91fc1b5297d566fd9d9051d901378 /src/plugins | |
parent | 69572723ae2a646684a0f216b0d89caa3176d191 (diff) | |
download | rspamd-60508a64e943d4c77d67d1739320bf47cbd69558.tar.gz rspamd-60508a64e943d4c77d67d1739320bf47cbd69558.zip |
[Minor] Neural: Fix error in Redis script
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/neural.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua index 5d2e9bfd5..eda089abc 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 |