From 021fa9e5fc5bd951dd853c364848658df858c1f8 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Fri, 24 Jan 2020 17:37:03 +0100 Subject: [PATCH] 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 = {}, {}, {}