1
0

Protocol 1.7: Encryption is enabled only with auth.

This commit is contained in:
madmaxoft 2014-01-29 09:56:31 +01:00
parent ae897804a0
commit 3bbca8c291

View File

@ -1433,7 +1433,7 @@ void cProtocol172::HandlePacketLoginStart(cByteBuffer & a_ByteBuffer)
}
// If auth is required, then send the encryption request:
// if (cRoot::Get()->GetServer()->ShouldAuthenticate())
if (cRoot::Get()->GetServer()->ShouldAuthenticate())
{
cPacketizer Pkt(*this, 0x01);
Pkt.WriteString(cRoot::Get()->GetServer()->GetServerID());