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

Read from the socket while we wait for it to close... this lets the close

happen rather than timing out and RSTing.
parent 41a57f97
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ function IRC_quit(server,reason) {
/* wait up to 5 seconds for server to disconnect */
var start=time();
while(server.is_connected && time()-start<5)
mswait(500);
while(my_server.poll(500) && (response=my_server.recvline()))
}
// This will create a 'default mask' when given a complete user@host string.
......
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