Commit Diff


commit - caa7049e2b8d19c6f25c973dbd157626c47d2f21
commit + dd09b17eae1f456a494bedda41e0a5d6484a261f
blob - 8bc0dbcb8efc06b3626cd61314adc558888755b6
blob + e5a0cf6317e4216f072796b671f5226fc60d71cb
--- src/ngircd/parse.c
+++ src/ngircd/parse.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: parse.c,v 1.42 2002/10/04 11:21:46 alex Exp $
+ * $Id: parse.c,v 1.43 2002/11/20 10:54:24 alex Exp $
  *
  * parse.c: Parsen der Client-Anfragen
  */
@@ -209,8 +209,8 @@ Validate_Prefix( CONN_ID Idx, REQUEST *Req, BOOLEAN *C
 	if( ! c )
 	{
 		/* im Prefix angegebener Client ist nicht bekannt */
-		Log( LOG_ERR, "Invalid prefix, client not known (connection %d)!?", Idx );
-		if( ! Conn_WriteStr( Idx, "ERROR :Invalid prefix, client not known!?" )) *Closed = TRUE;
+		Log( LOG_ERR, "Invalid prefix \"%s\", client not known (connection %d)!?", Req->prefix, Idx );
+		if( ! Conn_WriteStr( Idx, "ERROR :Invalid prefix \"%s\", client not known!?", Req->prefix )) *Closed = TRUE;
 		return FALSE;
 	}
 
@@ -280,8 +280,8 @@ Handle_Request( CONN_ID Idx, REQUEST *Req )
 		else target = NULL;
 		if( ! target )
 		{
-			if( Req->argc > 0 ) Log( LOG_WARNING, "Unknown target for status code: \"%s\"", Req->argv[0] );
-			else Log( LOG_WARNING, "Unknown target for status code!" );
+			if( Req->argc > 0 ) Log( LOG_WARNING, "Unknown target for status code %s: \"%s\"", Req->command, Req->argv[0] );
+			else Log( LOG_WARNING, "Unknown target for status code %s!", Req->command );
 			return TRUE;
 		}
 		if( target == Client_ThisServer( ))