- weitere Anpassungen an Chennals, v.a. ueber Server-Links.
This commit is contained in:
parent
8f521aa8bf
commit
b5ee4552c1
|
@ -9,11 +9,14 @@
|
|||
* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
|
||||
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
|
||||
*
|
||||
* $Id: channel.c,v 1.7 2002/01/27 17:14:33 alex Exp $
|
||||
* $Id: channel.c,v 1.8 2002/01/27 21:56:54 alex Exp $
|
||||
*
|
||||
* channel.c: Management der Channels
|
||||
*
|
||||
* $Log: channel.c,v $
|
||||
* Revision 1.8 2002/01/27 21:56:54 alex
|
||||
* - weitere Anpassungen an Chennals, v.a. ueber Server-Links.
|
||||
*
|
||||
* Revision 1.7 2002/01/27 17:14:33 alex
|
||||
* - diverse Aenderungen fuer Channels ueber mehrere Server.
|
||||
*
|
||||
|
@ -339,7 +342,7 @@ LOCAL BOOLEAN Remove_Client( CHANNEL *Chan, CLIENT *Client, CLIENT *Origin, CHAR
|
|||
free( cl2chan );
|
||||
|
||||
if( Client_Conn( Origin ) > NONE ) IRC_WriteStrClientPrefix( Origin, Client, "PART %s :%s", c->name, Reason );
|
||||
if( ServerPART ) IRC_WriteStrServersPrefixID( Origin, Client, "PART %s :%s", c->name, Reason );
|
||||
if( ServerPART ) IRC_WriteStrServersPrefix( Origin, Client, "PART %s :%s", c->name, Reason );
|
||||
IRC_WriteStrChannelPrefix( Origin, c, Client, FALSE, "PART %s :%s", c->name, Reason );
|
||||
|
||||
Log( LOG_DEBUG, "User \"%s\" left channel \"%s\" (%s).", Client_Mask( Client ), c->name, Reason );
|
||||
|
|
|
@ -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.32 2002/01/27 18:27:12 alex Exp $
|
||||
* $Id: client.c,v 1.33 2002/01/27 21:56:54 alex Exp $
|
||||
*
|
||||
* client.c: Management aller Clients
|
||||
*
|
||||
|
@ -21,6 +21,9 @@
|
|||
* Server gewesen, so existiert eine entsprechende CONNECTION-Struktur.
|
||||
*
|
||||
* $Log: client.c,v $
|
||||
* Revision 1.33 2002/01/27 21:56:54 alex
|
||||
* - weitere Anpassungen an Chennals, v.a. ueber Server-Links.
|
||||
*
|
||||
* Revision 1.32 2002/01/27 18:27:12 alex
|
||||
* - Client_GetFromID() kommt nun auch mit Host-Masken zurecht.
|
||||
*
|
||||
|
@ -521,11 +524,13 @@ GLOBAL CLIENT *Client_GetFromID( CHAR *Nick )
|
|||
* liefern. Wird keine gefunden, so wird NULL geliefert. */
|
||||
|
||||
CLIENT *c;
|
||||
CHAR nick[CLIENT_NICK_LEN + 1], *ptr;
|
||||
CHAR nick[CLIENT_ID_LEN + 1], *ptr;
|
||||
|
||||
assert( Nick != NULL );
|
||||
|
||||
strncpy( nick, Nick, CLIENT_NICK_LEN );
|
||||
strncpy( nick, Nick, CLIENT_ID_LEN );
|
||||
nick[CLIENT_ID_LEN] = '\0';
|
||||
|
||||
ptr = strchr( nick, '!' );
|
||||
if( ptr ) *ptr = '\0';
|
||||
|
||||
|
|
Loading…
Reference in New Issue