diff options
author | Shauren <shauren.trinity@gmail.com> | 2014-06-08 15:34:24 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2014-06-08 15:34:24 +0200 |
commit | 9f69eda67f7fad50553f8d569851a5005437e677 (patch) | |
tree | b918ef48a31a1970aad165808be344cf4744ef26 /src/server/authserver/Authentication/AuthCodes.cpp | |
parent | 05c0524bf3d97ba29496fa13e93acd3b8d7d37a4 (diff) |
Core/Battle.net: Additional checks
* Force grunt login for versions < 15595
* Force bn login if supported and game account is linked to bn account
Diffstat (limited to 'src/server/authserver/Authentication/AuthCodes.cpp')
-rw-r--r-- | src/server/authserver/Authentication/AuthCodes.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/authserver/Authentication/AuthCodes.cpp b/src/server/authserver/Authentication/AuthCodes.cpp index bb278dd6653..7a4998f7028 100644 --- a/src/server/authserver/Authentication/AuthCodes.cpp +++ b/src/server/authserver/Authentication/AuthCodes.cpp @@ -79,4 +79,9 @@ namespace AuthHelper return NULL; } + + bool IsBuildSupportingBattlenet(int build) + { + return build >= 15595; + } }; |