aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2012-07-04 18:24:05 +0200
committerShauren <shauren.trinity@gmail.com>2012-07-04 18:24:05 +0200
commitc95905ddbb22e2b5b5362b790aa851ef10d4e27e (patch)
tree669abda1d9fcea759f1240be6f96190ec81f4970 /src/server/authserver
parenta6a556ce09facff3918a33be6b976e5ccb7e1469 (diff)
Core: Added 4.3.4 opcodes from WPP, commented out some code to fix compile (switches with opcodes - duplicate case 0: labels) and fixed authentication
Diffstat (limited to 'src/server/authserver')
-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