add GetServerVersion

This commit is contained in:
Lion Kortlepel
2021-07-15 00:04:44 +02:00
parent e3b6fd7998
commit ba3fd0e144
6 changed files with 39 additions and 10 deletions

View File

@@ -14,7 +14,7 @@
namespace json = rapidjson;
TServer::TServer(int argc, char** argv) {
info("BeamMP Server v" + Application::ServerVersion());
info("BeamMP Server v" + Application::ServerVersionString());
if (argc > 1) {
Application::Settings.CustomIP = argv[1];
size_t n = std::count(Application::Settings.CustomIP.begin(), Application::Settings.CustomIP.end(), '.');