summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_Handshake.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_Handshake.cpp')
-rw-r--r--source/packets/cPacket_Handshake.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/packets/cPacket_Handshake.cpp b/source/packets/cPacket_Handshake.cpp
index 737eca330..76d04883c 100644
--- a/source/packets/cPacket_Handshake.cpp
+++ b/source/packets/cPacket_Handshake.cpp
@@ -7,10 +7,10 @@
-int cPacket_Handshake::Parse(const char * a_Data, int a_Size)
+int cPacket_Handshake::Parse(cByteBuffer & a_Buffer)
{
int TotalBytes = 0;
- HANDLE_PACKET_READ(ReadString16, m_Username, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEUTF16String16, m_Username, TotalBytes);
return TotalBytes;
}