aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Authentication/AuthCodes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/authserver/Authentication/AuthCodes.cpp')
-rw-r--r--src/server/authserver/Authentication/AuthCodes.cpp8
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;
}
}