diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-08-30 02:12:49 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-08-30 02:12:49 +0200 |
commit | 0b10514289a2a9db2f8ff3ef1c535f7d9a77d6a2 (patch) | |
tree | 3f1bfdb12ab772cf932f00b2e403b4a38d95df28 /src/server/authserver/Authentication/AuthCodes.cpp | |
parent | 02ac890b0738ee3ab1543eeb7bfc3ae65daef303 (diff) |
Core/Client Builds: Sync build_info structure with master branch
Diffstat (limited to 'src/server/authserver/Authentication/AuthCodes.cpp')
-rw-r--r-- | src/server/authserver/Authentication/AuthCodes.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/authserver/Authentication/AuthCodes.cpp b/src/server/authserver/Authentication/AuthCodes.cpp index 5af0f15482d..9f10e18f82c 100644 --- a/src/server/authserver/Authentication/AuthCodes.cpp +++ b/src/server/authserver/Authentication/AuthCodes.cpp @@ -16,7 +16,7 @@ */ #include "AuthCodes.h" -#include "RealmList.h" +#include "ClientBuildInfo.h" namespace AuthHelper { @@ -24,16 +24,16 @@ namespace AuthHelper bool IsPreBCAcceptedClientBuild(uint32 build) { - return build <= MAX_PRE_BC_CLIENT_BUILD && sRealmList->GetBuildInfo(build); + return build <= MAX_PRE_BC_CLIENT_BUILD && ClientBuild::GetBuildInfo(build); } bool IsPostBCAcceptedClientBuild(uint32 build) { - return build > MAX_PRE_BC_CLIENT_BUILD && sRealmList->GetBuildInfo(build); + return build > MAX_PRE_BC_CLIENT_BUILD && ClientBuild::GetBuildInfo(build); } bool IsAcceptedClientBuild(uint32 build) { - return sRealmList->GetBuildInfo(build) != nullptr; + return ClientBuild::GetBuildInfo(build) != nullptr; } } |