1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

Fix for [GH-165] - createClient to properly assign parser_module

This commit is contained in:
TEHEK Firefox
2012-01-27 13:35:56 -08:00
parent 3a7c6388de
commit 1896d7ce1f

View File

@@ -224,7 +224,7 @@ RedisClient.prototype.init_parser = function () {
if (this.options.parser) { if (this.options.parser) {
if (! parsers.some(function (parser) { if (! parsers.some(function (parser) {
if (parser.name === self.options.parser) { if (parser.name === self.options.parser) {
this.parser_module = parser; self.parser_module = parser;
if (exports.debug_mode) { if (exports.debug_mode) {
console.log("Using parser module: " + self.parser_module.name); console.log("Using parser module: " + self.parser_module.name);
} }