1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

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

Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
This commit is contained in:
TEHEK Firefox
2012-01-27 13:35:56 -08:00
committed by David Trejo
parent 3b645c893d
commit 02b62e56bd

View File

@@ -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);
}