Improved handling of invalid clients

This commit is contained in:
MaxXor 2015-06-06 09:28:31 +02:00
parent 3e457d8a06
commit b0d68c851d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ namespace xServer.Core.Packets
if (type == typeof(ClientPackets.Initialize))
CommandHandler.HandleInitialize(client, (ClientPackets.Initialize)packet);
else
return;
client.Disconnect();
}
if (type == typeof(ClientPackets.Status))