socket.destroy instead of socket.end
authorDarren <darren@darrenwhitlen.com>
Sun, 19 Oct 2014 22:42:58 +0000 (23:42 +0100)
committerDarren <darren@darrenwhitlen.com>
Sun, 19 Oct 2014 22:42:58 +0000 (23:42 +0100)
server/irc/connection.js

index adda3bd9019667a363273fc5961d8513cf000bb8..ea6571214b51ed4f17310305bf157cbac909d373 100644 (file)
@@ -457,7 +457,7 @@ IrcConnection.prototype.end = function (data) {
         return;
     }
 
-    this.socket.end();
+    this.socket.destroy();
 };