From 41a57f978b76609ff136881492447ce1c457cc12 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 25 Nov 2015 08:38:28 +0000
Subject: [PATCH] Set is_writeable=false rather than close().

---
 exec/load/irclib.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/load/irclib.js b/exec/load/irclib.js
index 8f8bbc8ccd..53d466efac 100644
--- a/exec/load/irclib.js
+++ b/exec/load/irclib.js
@@ -141,7 +141,7 @@ function IRC_quit(server,reason) {
 		reason = IRCLIB_VERSION;
 
 	server.send("QUIT :" + reason + "\r\n");
-	server.close();
+	server.is_writeable=false;
 
 	/* wait up to 5 seconds for server to disconnect */
 	var start=time();
-- 
GitLab