diff --git a/src/redis.lua b/src/redis.lua index a157a17..98b4710 100644 --- a/src/redis.lua +++ b/src/redis.lua @@ -731,7 +731,7 @@ do end if not options.watch then - watch_keys = { } + local watch_keys = { } for i, v in pairs(options) do if tonumber(i) then table.insert(watch_keys, v)