repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 9cb74e8135c989f4e28a586df6f0c80d838c1c22:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 9cb74e8135c989f4e28a586df6f0c80d838c1c22
Author: Alexander Barton 
Date:   Sun Jun 2 23:16:42 2002 +0000

    - besseres Logging beim Restart des Servers.

diff --git a/src/ngircd/client.c b/src/ngircd/client.c
index 9cb472915bddaa19d98654604184fea33143e751..
index ..f23832210c034b132e587b92d2d782ae6805fada 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;

-----END OF PAGE-----