mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 08:05:18 +02:00
Update comments referring to obsolete TOCLIENT_INIT (#16522)
This commit is contained in:
@@ -523,7 +523,7 @@ private:
|
|||||||
// The authentication methods we can use to enter sudo mode (=change password)
|
// The authentication methods we can use to enter sudo mode (=change password)
|
||||||
u32 m_sudo_auth_methods;
|
u32 m_sudo_auth_methods;
|
||||||
|
|
||||||
// The seed returned by the server in TOCLIENT_INIT is stored here
|
// The seed returned by the server in TOCLIENT_AUTH_ACCEPT is stored here
|
||||||
u64 m_map_seed = 0;
|
u64 m_map_seed = 0;
|
||||||
|
|
||||||
// Auth data
|
// Auth data
|
||||||
|
@@ -192,7 +192,7 @@ void Client::handleCommand_AccessDenied(NetworkPacket* pkt)
|
|||||||
{
|
{
|
||||||
// The server didn't like our password. Note, this needs
|
// The server didn't like our password. Note, this needs
|
||||||
// to be processed even if the serialization format has
|
// to be processed even if the serialization format has
|
||||||
// not been agreed yet, the same as TOCLIENT_INIT.
|
// not been agreed yet, the same as TOCLIENT_AUTH_ACCEPT.
|
||||||
m_access_denied = true;
|
m_access_denied = true;
|
||||||
|
|
||||||
if (pkt->getCommand() != TOCLIENT_ACCESS_DENIED) {
|
if (pkt->getCommand() != TOCLIENT_ACCESS_DENIED) {
|
||||||
|
Reference in New Issue
Block a user