Core/Authserver: Cleanup.
--HG-- branch : trunk
This commit is contained in:
1 parent
3201338eac
commit
b8bf37264b
4 files changed
+64
-77
No files matched your search
@@ -6,26 +6,22 @@ namespace AuthHelper
|
||||
bool IsPreBCAcceptedClientBuild(int build)
|
||||
{
|
||||
int accepted_versions[] = PRE_BC_ACCEPTED_CLIENT_BUILD;
|
||||
|
||||
for (int i = 0; accepted_versions[i]; ++i)
|
||||
{
|
||||
if (build == accepted_versions[i])
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IsPostBCAcceptedClientBuild(int build)
|
||||
{
|
||||
int accepted_versions[] = POST_BC_ACCEPTED_CLIENT_BUILD;
|
||||
|
||||
for (int i = 0; accepted_versions[i]; ++i)
|
||||
{
|
||||
if (build == accepted_versions[i])
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user