- bei STATS wurde der Target-Server aus dem falschen Argument bestimmt.

This commit is contained in:
Alexander Barton 2002-11-30 18:10:01 +00:00
parent 0c471b84f7
commit e50d568f25
1 changed files with 3 additions and 3 deletions

View File

@ -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-info.c,v 1.1 2002/11/30 17:39:56 alex Exp $
* $Id: irc-info.c,v 1.2 2002/11/30 18:10:01 alex Exp $
*
* irc-info.c: IRC-Info-Befehle
*/
@ -347,8 +347,8 @@ IRC_STATS( CLIENT *Client, REQUEST *Req )
if( Req->argc == 2 )
{
/* an anderen Server forwarden */
target = Client_Search( Req->argv[0] );
if( ! target ) return IRC_WriteStrClient( Client, ERR_NOSUCHSERVER_MSG, Client_ID( Client ), Req->argv[0] );
target = Client_Search( Req->argv[1] );
if( ! target ) return IRC_WriteStrClient( Client, ERR_NOSUCHSERVER_MSG, Client_ID( Client ), Req->argv[1] );
if( target != Client_ThisServer( ))
{