Skip to content

Commit

Permalink
Fix for [GH-165] - createClient to properly assign parser_module
Browse files Browse the repository at this point in the history
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
  • Loading branch information
TEHEK authored and DTrejo committed Apr 27, 2012
1 parent 3b645c8 commit 02b62e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -224,7 +224,7 @@ RedisClient.prototype.init_parser = function () {
if (this.options.parser) {
if (! parsers.some(function (parser) {
if (parser.name === self.options.parser) {
this.parser_module = parser;
self.parser_module = parser;
if (exports.debug_mode) {
console.log("Using parser module: " + self.parser_module.name);
}
Expand Down

0 comments on commit 02b62e5

Please sign in to comment.