mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	Quote received messages of ERROR commands in log output
This commit is contained in:
		| @@ -53,8 +53,12 @@ IRC_ERROR( CLIENT *Client, REQUEST *Req ) | |||||||
| 	assert( Client != NULL ); | 	assert( Client != NULL ); | ||||||
| 	assert( Req != NULL ); | 	assert( Req != NULL ); | ||||||
|  |  | ||||||
| 	if( Req->argc < 1 ) Log( LOG_NOTICE, "Got ERROR from \"%s\"!", Client_Mask( Client )); | 	if (Req->argc < 1) | ||||||
| 	else Log( LOG_NOTICE, "Got ERROR from \"%s\": %s!", Client_Mask( Client ), Req->argv[0] ); | 		Log(LOG_NOTICE, "Got ERROR from \"%s\"!", | ||||||
|  | 		    Client_Mask(Client)); | ||||||
|  | 	else | ||||||
|  | 		Log(LOG_NOTICE, "Got ERROR from \"%s\": \"%s\"!", | ||||||
|  | 		    Client_Mask(Client), Req->argv[0]); | ||||||
|  |  | ||||||
| 	return CONNECTED; | 	return CONNECTED; | ||||||
| } /* IRC_ERROR */ | } /* IRC_ERROR */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton