Permalink
Browse files

Merge pull request #82 from davibe/patch-1

Use 'exports.createClient' because that's the function the user modifies
  • Loading branch information...
2 parents f9cb4ed + ba05fe7 commit f6ae6dccd2a453e4688a459a8e8e669c289effe9 @tj tj committed Nov 1, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/redis.js
View
@@ -1,4 +1,3 @@
-
/*!
* kue - RedisClient factory
* Copyright (c) 2011 LearnBoost <tj@learnboost.com>
@@ -31,7 +30,7 @@ exports.createClient = function(){
*/
exports.client = function(){
- return exports._client || (exports._client = redis.createClient());
+ return exports._client || (exports._client = exports.createClient());
};
/**

0 comments on commit f6ae6dc

Please sign in to comment.