Remove obsolete hardcoded build number checks

The open-source project began with version 1.00, build 9022.

With the exception of an informative message fallback for builds older than 9428 (2014), all checks were for closed-source builds.
This commit is contained in:
Davide Beatrici committed 2021-06-27 07:21:06 +02:00
1 parent 56bb573b17
commit 4221579e95
11 files changed
+10 -118

No files matched your search

+2 -8
View File
@@ -11844,7 +11844,6 @@ bool LoginCM()
// Try to login with an empty password first
bool bad_pass, no_remote;
wchar_t server_name[MAX_SIZE];
RPC_CLIENT_VERSION a;
RETRY:
if (cm->server_name != NULL)
@@ -11896,13 +11895,8 @@ RETRY:
}
}
Zero(&a, sizeof(a));
CcGetClientVersion(cm->Client, &a);
if (a.ClientBuildInt >= 5192)
{
cm->CmSettingSupported = true;
cm->CmEasyModeSupported = true;
}
cm->CmSettingSupported = true;
cm->CmEasyModeSupported = true;
return true;
}