Commit Diff


commit - 9f58418765576950983b4a95c4f5f71f068f424f
commit + e1de769ab9958f6debbd884a1555de09d1191d32
blob - 2466b6bf9e47ef9ed7c084fe0a2af93a6570cf0f
blob + 67ad2a633a16747f49511154f205e47204263e45
--- src/ngircd/irc.c
+++ src/ngircd/irc.c
@@ -53,8 +53,12 @@ IRC_ERROR( CLIENT *Client, REQUEST *Req )
 	assert( Client != NULL );
 	assert( Req != NULL );
 
-	if( Req->argc < 1 ) 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] );
+	if (Req->argc < 1)
+		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;
 } /* IRC_ERROR */