Removed a buffer being created for no reason.

This commit is contained in:
Filip Maj committed 2016-04-14 08:30:34 -04:00
1 parent d989ec2a58
commit bd4e4a293c
1 file changed
+1 -2
+1 -2
View File
@@ -47,8 +47,7 @@ namespace FFXIVClassic_Lobby_Server
BasePacket packet = sendPacketQueue.Take();
byte[] packetBytes = packet.getPacketBytes();
byte[] buffer = new byte[0xFFFF];
Array.Copy(packetBytes, buffer, packetBytes.Length);
try
{
socket.Send(packetBytes);