Fixed mistake
This commit is contained in:
parent
d258be678a
commit
2618569e01
@ -146,7 +146,7 @@ bool cAuthenticator::AuthWithYggdrasil(AString & a_UserName, const AString & a_S
|
|||||||
{
|
{
|
||||||
AString REQUEST;
|
AString REQUEST;
|
||||||
int ret, server_fd = -1;
|
int ret, server_fd = -1;
|
||||||
size_t len = -1;
|
size_t len = 0;
|
||||||
unsigned char buf[1024];
|
unsigned char buf[1024];
|
||||||
const char *pers = "cAuthenticator";
|
const char *pers = "cAuthenticator";
|
||||||
|
|
||||||
|
@ -1559,7 +1559,7 @@ void cProtocol172::HandlePacketLoginEncryptionResponse(cByteBuffer & a_ByteBuffe
|
|||||||
// Send login success:
|
// Send login success:
|
||||||
{
|
{
|
||||||
cPacketizer Pkt(*this, 0x02); // Login success packet
|
cPacketizer Pkt(*this, 0x02); // Login success packet
|
||||||
Pkt.WriteString(Printf("%d", m_Client->GetUniqueID())); // TODO: proper UUID
|
Pkt.WriteString(m_Client->GetUUID());
|
||||||
Pkt.WriteString(m_Client->GetUsername());
|
Pkt.WriteString(m_Client->GetUsername());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user