chore(net): use enum for client challenge opcode

This commit is contained in:
fallenoak 2023-02-09 22:44:01 -06:00
parent b0b6bc5e52
commit fc7fa1dbdc
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -366,7 +366,7 @@ void Grunt::ClientLink::LogonNewSession(const Grunt::ClientLink::Logon& logon) {
CDataStoreCache<1024> clientChallenge;
uint8_t opcode = 0;
uint8_t opcode = CMD_AUTH_LOGON_CHALLENGE;
clientChallenge.Put(opcode);
uint8_t protocol = 8;