Permalink
Browse files

Renamed events to match Connect

  • Loading branch information...
louischatriot committed Sep 5, 2012
1 parent 4306b23 commit b597e5f6597d866f65123306c8b6bd5c77447f2f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/connect-redis.js
View
@@ -70,7 +70,7 @@ module.exports = function(connect){
// Let users of the RedisStore handle connection to Redis issues if safe mode enabled
self.client.on('error', function () { self.emit('disconnect'); });
- self.client.on('connect', function () { self.emit('reconnect'); });
+ self.client.on('connect', function () { self.emit('connect'); });
};
/**

0 comments on commit b597e5f

Please sign in to comment.