fix version check on auth

This commit is contained in:
Lion Kortlepel
2024-10-09 16:44:38 +02:00
parent 0a6eecee69
commit 3403c8acba
3 changed files with 6 additions and 5 deletions

View File

@@ -74,7 +74,7 @@ public:
static TConsole& Console() { return mConsole; }
static std::string ServerVersionString();
static const Version& ServerVersion() { return mVersion; }
static std::string ClientMinimumVersion() { return "2.2.0"; }
static Version ClientMinimumVersion() { return Version { 2, 2, 0 }; }
static std::string PPS() { return mPPS; }
static void SetPPS(const std::string& NewPPS) { mPPS = NewPPS; }