Fixed server not starting after license expires

This commit is contained in:
WolverinDEV
2020-05-07 21:57:04 +02:00
parent dbca214ef2
commit 92bb168b4e
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ namespace license {
bool deleted{false};
uint32_t upgrade_id{0};
inline bool isValid() { return (end.time_since_epoch().count() == 0 || std::chrono::system_clock::now() < this->end); }
inline bool isNotExpired() { return (end.time_since_epoch().count() == 0 || std::chrono::system_clock::now() < this->end); }
};
extern std::shared_ptr<License> readLocalLicence(const std::string &, std::string &);