From 924bc39a9554f335414b7ff0bf34f65b1b4c483e Mon Sep 17 00:00:00 2001 From: David White Date: Thu, 9 Oct 2014 16:56:32 +0100 Subject: [PATCH] Fix cut/paste error in close event --- src/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.js b/src/client.js index a842ac3..53a38d2 100644 --- a/src/client.js +++ b/src/client.js @@ -155,7 +155,7 @@ Client.prototype.connect = function(args) { }); stream.on("close", function() { - identd.addConnection(identdItem); + identd.removeConnection(identdItem); }); var irc = slate(stream);