diff --git a/src/client/client.h b/src/client/client.h index 746db1027d..4b36472f95 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -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 diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index 4df8a3ae3b..dee2b4d33b 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -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) {