|
|
@@ -302,13 +302,13 @@ static int got442(char *from, char *msg)
|
|
|
|
|
|
/* Close the current server connection.
|
|
|
*/
|
|
|
-void nuke_server(char *reason)
|
|
|
+void nuke_server(const char *reason)
|
|
|
{
|
|
|
if (serv >= 0 && servidx >= 0) {
|
|
|
if (reason)
|
|
|
- dprintf(servidx, "QUIT :%s\n", reason);
|
|
|
+ dprintf(DP_DUMP, "QUIT :%s\n", reason);
|
|
|
|
|
|
- sleep(2);
|
|
|
+ sleep(1);
|
|
|
disconnect_server(servidx, DO_LOST);
|
|
|
}
|
|
|
}
|