From b7bb32940e2064c455a78edec1edf7e6d57f82b0 Mon Sep 17 00:00:00 2001 From: Tim-Smart Date: Fri, 17 Sep 2010 23:18:57 +1200 Subject: [PATCH] s/close/end/ --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b7fe8ce..18e14a2 100644 --- a/index.js +++ b/index.js @@ -477,7 +477,7 @@ RedisClient.prototype.send_command = function () { } }; -RedisClient.prototype.close = function close () { +RedisClient.prototype.end = function () { this.stream._events = {}; return this.stream.end(); };