Skip to content
Snippets Groups Projects
Commit e48b4897 authored by deuce's avatar deuce
Browse files

Why would we wait for the server to close the connection when we quit?

parent eed4b969
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment