diff --git a/exec/load/irclib.js b/exec/load/irclib.js index f550b695e36eca4bb06c27b5845026ba0342168e..8f8bbc8ccd7d4be1baadcf24ec625b3741652907 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();