mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	- Projektdatei an neue Quellcode-Struktur angepasst.
This commit is contained in:
		| @@ -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.48 2002/03/12 14:37:52 alex Exp $ | ||||
|  * $Id: client.c,v 1.49 2002/03/12 23:42:59 alex Exp $ | ||||
|  * | ||||
|  * client.c: Management aller Clients | ||||
|  * | ||||
| @@ -188,11 +188,8 @@ GLOBAL VOID Client_Destroy( CLIENT *Client, CHAR *LogMsg, CHAR *FwdMsg, BOOLEAN | ||||
| 	else txt = FwdMsg; | ||||
| 	if( ! txt ) txt = "Reason unknown."; | ||||
|  | ||||
| 	if( Client->type == CLIENT_SERVER ) | ||||
| 	{ | ||||
| 		/* Netz-Split-Nachricht vorbereiten */ | ||||
| 		sprintf( msg, "%s | %s", Client_ID( Client ), Client_ID( Client_TopServer( Client ) ? Client_TopServer( Client ) : Client_ThisServer( ))); | ||||
| 	} | ||||
| 	/* Netz-Split-Nachricht vorbereiten */ | ||||
| 	if( Client->type == CLIENT_SERVER ) sprintf( msg, "%s: lost server %s", This_Server->id, Client->id ); | ||||
|  | ||||
| 	last = NULL; | ||||
| 	c = My_Clients; | ||||
|   | ||||
| @@ -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: conn.c,v 1.52 2002/03/12 14:37:52 alex Exp $ | ||||
|  * $Id: conn.c,v 1.53 2002/03/12 23:42:59 alex Exp $ | ||||
|  * | ||||
|  * connect.h: Verwaltung aller Netz-Verbindungen ("connections") | ||||
|  */ | ||||
| @@ -850,8 +850,10 @@ LOCAL VOID Check_Servers( VOID ) | ||||
| 		/* Haben wir schon eine Verbindung? */ | ||||
| 		for( n = 0; n < MAX_CONNECTIONS; n++ ) | ||||
| 		{ | ||||
| 			if( My_Connections[n].sock == NONE ) continue; | ||||
| 			 | ||||
| 			/* Verbindung zu diesem Server? */ | ||||
| 			if(( My_Connections[n].sock != NONE ) && ( My_Connections[n].our_server == i )) | ||||
| 			if( My_Connections[n].our_server == i ) | ||||
| 			{ | ||||
| 				/* Komplett aufgebaute Verbindung? */ | ||||
| 				if( My_Connections[n].sock > NONE ) break; | ||||
| @@ -861,9 +863,9 @@ LOCAL VOID Check_Servers( VOID ) | ||||
| 			} | ||||
|  | ||||
| 			/* Verbindung in dieser Server-Gruppe? */ | ||||
| 			if(( My_Connections[n].sock != NONE ) && ( My_Connections[n].our_server != NONE )) | ||||
| 			if(( My_Connections[n].our_server != NONE ) && ( Conf_Server[i].group != NONE )) | ||||
| 			{ | ||||
| 				if( Conf_Server[n].group == Conf_Server[i].group != NONE ) break; | ||||
| 				if( Conf_Server[My_Connections[n].our_server].group == Conf_Server[i].group ) break; | ||||
| 			} | ||||
| 		} | ||||
| 		if( n < MAX_CONNECTIONS ) continue; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton