Protocol 1.7: Encryption is enabled only with auth.
This commit is contained in:
parent
ae897804a0
commit
3bbca8c291
@ -1433,7 +1433,7 @@ void cProtocol172::HandlePacketLoginStart(cByteBuffer & a_ByteBuffer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If auth is required, then send the encryption request:
|
// If auth is required, then send the encryption request:
|
||||||
// if (cRoot::Get()->GetServer()->ShouldAuthenticate())
|
if (cRoot::Get()->GetServer()->ShouldAuthenticate())
|
||||||
{
|
{
|
||||||
cPacketizer Pkt(*this, 0x01);
|
cPacketizer Pkt(*this, 0x01);
|
||||||
Pkt.WriteString(cRoot::Get()->GetServer()->GetServerID());
|
Pkt.WriteString(cRoot::Get()->GetServer()->GetServerID());
|
||||||
|
Loading…
Reference in New Issue
Block a user