Skip to content

Commit e8ab401

Browse files
committed
cleanup log line
1 parent 3700131 commit e8ab401

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Intersect.Server.Core/Networking/Client.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,8 @@ public static void RemoveBeta4Client(IConnection connection)
302302
}
303303

304304
Intersect.Core.ApplicationContext.Context.Value?.Logger.LogDebug(
305-
string.IsNullOrWhiteSpace(client.Name)
306-
307-
//? $"Client disconnected ({(client.IsEditor ? "[editor]" : "[client]")})"
308-
// TODO: Transmit client information on network start so we can determine editor vs client
309-
? $"Client disconnected ([menu])"
310-
: $"Client disconnected ({client.Name}->{client.Entity?.Name ?? "[editor]"})"
305+
"Client disconnected ({ClientState}])",
306+
string.IsNullOrWhiteSpace(client.Name) ? "[menu]" : $"{client.Name}->{client.Entity?.Name ?? "[editor]"}"
311307
);
312308

313309
client.Disconnect();

0 commit comments

Comments
 (0)