diff --git a/app.js b/app.js index 874341c050..1610049e2b 100644 --- a/app.js +++ b/app.js @@ -82,7 +82,7 @@ if(nconf.get('upgrade')) { // Initial setup for Reds reds.createClient = function() { - return exports.client || (exports.client = RDB); + return reds.client || (reds.client = RDB); } global.configuration = {};