From 26245c4e7bfea28c1e617db06c4b835369c86202 Mon Sep 17 00:00:00 2001 From: Juarez Bochi Date: Thu, 25 Sep 2014 15:37:45 -0300 Subject: [PATCH] Avoid global variable --- src/redis.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis.lua b/src/redis.lua index 4e36c54..41d5a5b 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)