From e48b4897ca23c63c75da33f381560a33960122c2 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 25 Nov 2015 08:24:49 +0000 Subject: [PATCH] Why would we wait for the server to close the connection when we quit? --- exec/load/irclib.js | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/load/irclib.js b/exec/load/irclib.js index f550b695e3..8f8bbc8ccd 100644 --- a/exec/load/irclib.js +++ b/exec/load/irclib.js @@ -141,6 +141,7 @@ function IRC_quit(server,reason) { reason = IRCLIB_VERSION; server.send("QUIT :" + reason + "\r\n"); + server.close(); /* wait up to 5 seconds for server to disconnect */ var start=time(); -- GitLab