From 56d2efc31eda6bbcf57fe153345622b8a9eab1e9 Mon Sep 17 00:00:00 2001 From: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Date: Mon, 23 Feb 2026 22:52:40 -0500 Subject: [PATCH] fix(Core/AuthSession): Correct typo in query field fetch. (#24842) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 天鹭 <18535853+PkllonG@users.noreply.github.com> --- src/server/apps/authserver/Server/AuthSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/apps/authserver/Server/AuthSession.cpp b/src/server/apps/authserver/Server/AuthSession.cpp index ce4a1e590..b0692a03b 100644 --- a/src/server/apps/authserver/Server/AuthSession.cpp +++ b/src/server/apps/authserver/Server/AuthSession.cpp @@ -155,7 +155,7 @@ void AccountInfo::LoadResult(Field* fields) FailedLogins = fields[6].Get(); IsBanned = fields[7].Get() || fields[9].Get(); IsPermanentlyBanned = fields[8].Get() || fields[10].Get(); - SecurityLevel = static_cast(fields[11].Get()) > SEC_CONSOLE ? SEC_CONSOLE : static_cast(fields[12].Get()); + SecurityLevel = static_cast(fields[11].Get()) > SEC_CONSOLE ? SEC_CONSOLE : static_cast(fields[11].Get()); // Use our own uppercasing of the account name instead of using UPPER() in mysql query // This is how the account was created in the first place and changing it now would result in breaking