From fc7fa1dbdcdc9ea2770bb4425ea308c62dab9e24 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Thu, 9 Feb 2023 22:44:01 -0600 Subject: [PATCH] chore(net): use enum for client challenge opcode --- src/net/grunt/ClientLink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/grunt/ClientLink.cpp b/src/net/grunt/ClientLink.cpp index 09fac93..ff856c2 100644 --- a/src/net/grunt/ClientLink.cpp +++ b/src/net/grunt/ClientLink.cpp @@ -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;