Skip to content

Commit

Permalink
don't export Redis by default
Browse files Browse the repository at this point in the history
fix nrk#68
  • Loading branch information
linuxmaniac committed Jan 27, 2020
1 parent 880dda9 commit 021fa9e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/redis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}, {}, {}

Expand Down

0 comments on commit 021fa9e

Please sign in to comment.