This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
rspamd
mirror of
https://github.com/vstakhov/rspamd.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
159
Wiki
Activity
Browse Source
[Fix] Redis key expansion: EVAL: deal with strings
tags/1.7.0
Andrew Lewis
6 years ago
parent
1e54b03ed6
commit
6179837c52
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
lualib/lua_redis.lua
+ 1
- 1
lualib/lua_redis.lua
View File
@@ -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
Write
Preview
Loading…
Cancel
Save