From: Darren Date: Sun, 19 Oct 2014 22:42:58 +0000 (+0100) Subject: socket.destroy instead of socket.end X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4a57586dda0ed0c4f8672444e4dc14d323248195;p=KiwiIRC.git socket.destroy instead of socket.end --- diff --git a/server/irc/connection.js b/server/irc/connection.js index adda3bd..ea65712 100644 --- a/server/irc/connection.js +++ b/server/irc/connection.js @@ -457,7 +457,7 @@ IrcConnection.prototype.end = function (data) { return; } - this.socket.end(); + this.socket.destroy(); };