1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Victor Seva <linuxmaniac@torreviejawireless.org>
Date: Fri, 24 Jan 2020 17:37:03 +0100
Subject: don't export Redis by default
fix #68
---
src/redis.lua | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/redis.lua b/src/redis.lua
index 98b4710..f3537fa 100644
--- a/src/redis.lua
+++ b/src/redis.lua
@@ -4,11 +4,6 @@ local redis = {
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
--- The following line is used for backwards compatibility in order to keep the `Redis`
--- global module name. Using `Redis` is now deprecated so you should explicitly assign
--- the module to a local variable when requiring it: `local redis = require('redis')`.
-Redis = redis
-
local unpack = _G.unpack or table.unpack
local network, request, response = {}, {}, {}
|