mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	- PASS-Befehl auf NGIRCd_ProtoID umgestellt.
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: conn.c,v 1.68 2002/08/26 00:03:15 alex Exp $ | ||||
|  * $Id: conn.c,v 1.69 2002/09/02 19:03:09 alex Exp $ | ||||
|  * | ||||
|  * connect.h: Verwaltung aller Netz-Verbindungen ("connections") | ||||
|  */ | ||||
| @@ -626,7 +626,7 @@ Handle_Write( CONN_ID Idx ) | ||||
| 		Log( LOG_DEBUG, "Connection %d with \"%s:%d\" established, now sendig PASS and SERVER ...", Idx, My_Connections[Idx].host, Conf_Server[My_Connections[Idx].our_server].port ); | ||||
|  | ||||
| 		/* PASS und SERVER verschicken */ | ||||
| 		Conn_WriteStr( Idx, "PASS %s %s", Conf_Server[My_Connections[Idx].our_server].pwd, PASSSERVERADD ); | ||||
| 		Conn_WriteStr( Idx, "PASS %s %s", Conf_Server[My_Connections[Idx].our_server].pwd, NGIRCd_ProtoID ); | ||||
| 		Conn_WriteStr( Idx, "SERVER %s :%s", Conf_ServerName, Conf_ServerInfo ); | ||||
|  | ||||
| 		return TRUE; | ||||
|   | ||||
| @@ -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: irc-server.c,v 1.14 2002/08/26 23:47:58 alex Exp $ | ||||
|  * $Id: irc-server.c,v 1.15 2002/09/02 19:05:03 alex Exp $ | ||||
|  * | ||||
|  * irc-server.c: IRC-Befehle fuer Server-Links | ||||
|  */ | ||||
| @@ -32,6 +32,7 @@ | ||||
| #include "log.h" | ||||
| #include "messages.h" | ||||
| #include "parse.h" | ||||
| #include "ngircd.h" | ||||
|  | ||||
| #include "exp.h" | ||||
| #include "irc-server.h" | ||||
| @@ -92,7 +93,7 @@ IRC_SERVER( CLIENT *Client, REQUEST *Req ) | ||||
| 		{ | ||||
| 			/* Eingehende Verbindung: Unseren SERVER- und PASS-Befehl senden */ | ||||
| 			ok = TRUE; | ||||
| 			if( ! IRC_WriteStrClient( Client, "PASS %s %s", Conf_Server[i].pwd, PASSSERVERADD )) ok = FALSE; | ||||
| 			if( ! IRC_WriteStrClient( Client, "PASS %s %s", Conf_Server[i].pwd, NGIRCd_ProtoID )) ok = FALSE; | ||||
| 			else ok = IRC_WriteStrClient( Client, "SERVER %s 1 :%s", Conf_ServerName, Conf_ServerInfo ); | ||||
| 			if( ! ok ) | ||||
| 			{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton