mirror of https://github.com/quasar/Quasar.git
Improved handling of invalid clients
This commit is contained in:
parent
3e457d8a06
commit
b0d68c851d
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue