- CHANINFO wird auf Server-Links gesendet, wenn unterstuetzt.
This commit is contained in:
parent
1256f34736
commit
938abb0236
|
@ -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.15 2002/09/02 19:05:03 alex Exp $
|
||||
* $Id: irc-server.c,v 1.16 2002/09/03 23:55:44 alex Exp $
|
||||
*
|
||||
* irc-server.c: IRC-Befehle fuer Server-Links
|
||||
*/
|
||||
|
@ -162,6 +162,13 @@ IRC_SERVER( CLIENT *Client, REQUEST *Req )
|
|||
chan = Channel_First( );
|
||||
while( chan )
|
||||
{
|
||||
/* Wenn unterstuetzt, CHANINFO senden */
|
||||
if( strchr( Client_Flags( Client ), 'C' ))
|
||||
{
|
||||
/* CHANINFO senden */
|
||||
if( ! IRC_WriteStrClient( Client, "CHANINFO %s +%s :%s", Channel_Name( chan ), Channel_Modes( chan ), Channel_Topic( chan ))) return DISCONNECTED;
|
||||
}
|
||||
|
||||
/* alle Member suchen */
|
||||
cl2chan = Channel_FirstMember( chan );
|
||||
sprintf( str, "NJOIN %s :", Channel_Name( chan ));
|
||||
|
|
Loading…
Reference in New Issue