mirror of
https://github.com/osmarks/ngircd.git
synced 2025-05-05 17:04:05 +00:00
- Client wird nun via NOTICEs ueber Resolver-Status informiert.
This commit is contained in:
parent
39d7b014cf
commit
b6c049cb3c
@ -9,7 +9,7 @@
|
|||||||
* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
|
* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
|
||||||
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
|
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
|
||||||
*
|
*
|
||||||
* $Id: conn.c,v 1.76 2002/10/09 13:15:08 alex Exp $
|
* $Id: conn.c,v 1.77 2002/10/09 13:34:19 alex Exp $
|
||||||
*
|
*
|
||||||
* connect.h: Verwaltung aller Netz-Verbindungen ("connections")
|
* connect.h: Verwaltung aller Netz-Verbindungen ("connections")
|
||||||
*/
|
*/
|
||||||
@ -739,6 +739,7 @@ New_Connection( INT Sock )
|
|||||||
if( s )
|
if( s )
|
||||||
{
|
{
|
||||||
/* Sub-Prozess wurde asyncron gestartet */
|
/* Sub-Prozess wurde asyncron gestartet */
|
||||||
|
Conn_WriteStr( idx, "NOTICE AUTH :%sLooking up your hostname ...", NOTICE_TXTPREFIX );
|
||||||
My_Connections[idx].res_stat = s;
|
My_Connections[idx].res_stat = s;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -1187,6 +1188,8 @@ Read_Resolver_Result( INT r_fd )
|
|||||||
assert( c != NULL );
|
assert( c != NULL );
|
||||||
strcpy( My_Connections[i].host, result );
|
strcpy( My_Connections[i].host, result );
|
||||||
Client_SetHostname( c, result );
|
Client_SetHostname( c, result );
|
||||||
|
|
||||||
|
Conn_WriteStr( i, "NOTICE AUTH :%sGot your hostname.", NOTICE_TXTPREFIX );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user