about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2002-12-19 04:33:27 +0000
committerAlexander Barton <alex@barton.de>2002-12-19 04:33:27 +0000
commit77c4c015e397af9ab972e4f3422028fb2187fa05 (patch)
treeb5a567d155fb8bd51001a2664a0763f9ff6662aa /src
parent43a4bc5b8bb064e2dfca456ab6fcc656b4dfa813 (diff)
downloadngircd-77c4c015e397af9ab972e4f3422028fb2187fa05.tar.gz
ngircd-77c4c015e397af9ab972e4f3422028fb2187fa05.zip
- renamed variables to fit new signal handler.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ngircd/client.c b/src/ngircd/client.c
index a383e897..420fc32e 100644
--- a/src/ngircd/client.c
+++ b/src/ngircd/client.c
@@ -17,7 +17,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: client.c,v 1.65 2002/12/12 12:24:18 alex Exp $";
+static char UNUSED id[] = "$Id: client.c,v 1.66 2002/12/19 04:33:27 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -97,7 +97,7 @@ Client_Exit( VOID )
 	CLIENT *c, *next;
 	INT cnt;
 
-	if( NGIRCd_Restart ) Client_Destroy( This_Server, "Server going down (restarting).", NULL, FALSE );
+	if( NGIRCd_SignalRestart ) Client_Destroy( This_Server, "Server going down (restarting).", NULL, FALSE );
 	else Client_Destroy( This_Server, "Server going down.", NULL, FALSE );
 	
 	cnt = 0;
@@ -256,7 +256,7 @@ Client_Destroy( CLIENT *Client, CHAR *LogMsg, CHAR *FwdMsg, BOOLEAN SendQuit )
 				}
 
 				/* andere Server informieren */
-				if( ! NGIRCd_Quit )
+				if( ! NGIRCd_SignalQuit )
 				{
 					if( FwdMsg ) IRC_WriteStrServersPrefix( Client_NextHop( c ), c, "SQUIT %s :%s", c->id, FwdMsg );
 					else IRC_WriteStrServersPrefix( Client_NextHop( c ), c, "SQUIT %s :", c->id );