aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Authentication
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/authserver/Authentication')
-rw-r--r--src/server/authserver/Authentication/AuthCodes.cpp7
-rwxr-xr-xsrc/server/authserver/Authentication/AuthCodes.h3
2 files changed, 2 insertions, 8 deletions
diff --git a/src/server/authserver/Authentication/AuthCodes.cpp b/src/server/authserver/Authentication/AuthCodes.cpp
index 5dacb2df35e..7a97cbee3de 100644
--- a/src/server/authserver/Authentication/AuthCodes.cpp
+++ b/src/server/authserver/Authentication/AuthCodes.cpp
@@ -19,7 +19,7 @@
namespace AuthHelper
{
- bool IsAcceptedBuild(int build)
+ bool IsAcceptedClientBuild(int build)
{
static int accepted_versions[] = TRINITYCORE_ACCEPTED_CLIENT_BUILD;
@@ -29,9 +29,4 @@ namespace AuthHelper
return false;
}
-
- bool IsAcceptedClientBuild(int build)
- {
- return (IsAcceptedBuild(build));
- }
};
diff --git a/src/server/authserver/Authentication/AuthCodes.h b/src/server/authserver/Authentication/AuthCodes.h
index 6dc76ce0c56..9d631a5800d 100755
--- a/src/server/authserver/Authentication/AuthCodes.h
+++ b/src/server/authserver/Authentication/AuthCodes.h
@@ -65,13 +65,12 @@ enum LoginResult
LOGIN_LOCKED_ENFORCED = 0x10,
};
-#define TRINITYCORE_ACCEPTED_CLIENT_BUILD {14545, 14480, 14333, 14007, 0}
+#define TRINITYCORE_ACCEPTED_CLIENT_BUILD {15595, 12340, 0} // accept one Cataclysm and one Wrath of the Lich King build
namespace AuthHelper
{
bool IsAcceptedClientBuild(int build);
- bool IsAcceptedBuild(int build);
};
#endif