kopia lustrzana
https://github.com/rspamd/rspamd.git
synced 2024-07-29 20:17:47 +02:00
[Fix] Redis key expansion: EVAL: deal with strings
This commit is contained in:
rodzic
1e54b03ed6
commit
6179837c52
@ -225,7 +225,7 @@ local process_cmd = {
|
||||
eval = function(args)
|
||||
local idx_l = {}
|
||||
local numkeys = args[2]
|
||||
if numkeys >= 1 then
|
||||
if numkeys and tonumber(numkeys) >= 1 then
|
||||
for i = 3, numkeys + 2 do
|
||||
table.insert(idx_l, i)
|
||||
end
|
||||
|
Ładowanie…
Reference in New Issue
Block a user