1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +00:00

Update comments referring to obsolete TOCLIENT_INIT (#16522)

This commit is contained in:
fetsorn 2025-09-29 14:21:52 +03:00 committed by GitHub
parent dd3530dc79
commit e3ec044ed0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -523,7 +523,7 @@ private:
// The authentication methods we can use to enter sudo mode (=change password)
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;
// Auth data

View file

@ -192,7 +192,7 @@ void Client::handleCommand_AccessDenied(NetworkPacket* pkt)
{
// The server didn't like our password. Note, this needs
// 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;
if (pkt->getCommand() != TOCLIENT_ACCESS_DENIED) {