1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-23 05:07:47 +00:00

Removed a buffer being created for no reason.

This commit is contained in:
Filip Maj 2016-04-14 08:30:34 -04:00
parent d989ec2a58
commit bd4e4a293c

View file

@ -47,8 +47,7 @@ namespace FFXIVClassic_Lobby_Server
BasePacket packet = sendPacketQueue.Take(); BasePacket packet = sendPacketQueue.Take();
byte[] packetBytes = packet.getPacketBytes(); byte[] packetBytes = packet.getPacketBytes();
byte[] buffer = new byte[0xFFFF];
Array.Copy(packetBytes, buffer, packetBytes.Length);
try try
{ {
socket.Send(packetBytes); socket.Send(packetBytes);