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