Disconnect a crashed client
This commit is contained in:
parent
7eff08d533
commit
fe70cea080
@ -283,6 +283,10 @@ namespace TrueCraft
|
||||
e.SetBuffer(null, 0, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
if(Connection != null)
|
||||
if (!Connection.Connected && !Disconnected)
|
||||
Server.DisconnectClient(this);
|
||||
}
|
||||
|
||||
private void ProcessNetwork(SocketAsyncEventArgs e)
|
||||
|
Reference in New Issue
Block a user