Commit Diff


commit - 0c471b84f7985a1f882be9ed2a1af700390f8c9c
commit + e50d568f252f29c152a3644ed6efe24d943d5929
blob - d158de5fc3990c0921dd53dc5e1e3acae832edac
blob + 2139e44062358cdab0cfe01f73e7c527e5d37bae
--- src/ngircd/irc-info.c
+++ src/ngircd/irc-info.c
@@ -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( ))
 		{