From 6c36ed09c01e1800039c1cd0993b7e2e74f03fb2 Mon Sep 17 00:00:00 2001 From: Orion Henry Date: Wed, 22 Sep 2010 13:16:33 -0700 Subject: [PATCH] createClient was ignoring the host arg --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d7d8e224cb..99024379cc 100644 --- a/index.js +++ b/index.js @@ -696,7 +696,7 @@ RedisClient.prototype.MULTI = function (commands) { exports.createClient = function (port_arg, host_arg, options) { var port = port_arg || default_port, - host = host || default_host, + host = host_arg || default_host, red_client, net_client; net_client = net.createConnection(port, host);