about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2002-06-02 23:16:42 +0000
committerAlexander Barton <alex@barton.de>2002-06-02 23:16:42 +0000
commit9cb74e8135c989f4e28a586df6f0c80d838c1c22 (patch)
tree213612fb93d30f2588f483b7f5062b4f4fa8126b /src
parentb788a3daa52e349f1d4240587676d0ff68b75a95 (diff)
downloadngircd-9cb74e8135c989f4e28a586df6f0c80d838c1c22.tar.gz
ngircd-9cb74e8135c989f4e28a586df6f0c80d838c1c22.zip
- besseres Logging beim Restart des Servers.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ngircd/client.c b/src/ngircd/client.c
index 9cb47291..f2383221 100644
--- a/src/ngircd/client.c
+++ b/src/ngircd/client.c
@@ -9,7 +9,7 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: client.c,v 1.57 2002/06/01 14:36:43 alex Exp $
+ * $Id: client.c,v 1.58 2002/06/02 23:16:42 alex Exp $
  *
  * client.c: Management aller Clients
  *
@@ -102,7 +102,8 @@ Client_Exit( VOID )
 	CLIENT *c, *next;
 	INT cnt;
 
-	Client_Destroy( This_Server, "Server going down.", NULL, FALSE );
+	if( NGIRCd_Restart ) Client_Destroy( This_Server, "Server going down (restarting).", NULL, FALSE );
+	else Client_Destroy( This_Server, "Server going down.", NULL, FALSE );
 	
 	cnt = 0;
 	c = My_Clients;