aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Main.cpp
diff options
context:
space:
mode:
authorStormBytePP <stormbyte@gmail.com>2015-08-16 16:56:11 +0200
committerShauren <shauren.trinity@gmail.com>2015-08-16 17:15:38 +0200
commit94f69fb1bcef103392ca27074ebb31ef2ebd27fb (patch)
tree2047bfd30ae9e34817327a01064835dbf495c9bb /src/server/authserver/Main.cpp
parent90c9290761ecb7849a036d82c2b93f64920164c6 (diff)
Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
Diffstat (limited to 'src/server/authserver/Main.cpp')
-rw-r--r--src/server/authserver/Main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/authserver/Main.cpp b/src/server/authserver/Main.cpp
index 06d20658eb0..7342a638958 100644
--- a/src/server/authserver/Main.cpp
+++ b/src/server/authserver/Main.cpp
@@ -33,7 +33,7 @@
#include "AppenderDB.h"
#include "ProcessPriority.h"
#include "RealmList.h"
-#include "SystemConfig.h"
+#include "Revision.h"
#include "Util.h"
#include <iostream>
#include <boost/program_options.hpp>
@@ -103,7 +103,7 @@ int main(int argc, char** argv)
sLog->RegisterAppender<AppenderDB>();
sLog->Initialize(nullptr);
- TC_LOG_INFO("server.authserver", "%s (authserver)", _FULLVERSION);
+ TC_LOG_INFO("server.authserver", "%s (authserver)", Revision::GetFullVersion().c_str());
TC_LOG_INFO("server.authserver", "<Ctrl-C> to stop.\n");
TC_LOG_INFO("server.authserver", "Using configuration file %s.", configFile.c_str());
TC_LOG_INFO("server.authserver", "Using SSL version: %s (library: %s)", OPENSSL_VERSION_TEXT, SSLeay_version(SSLEAY_VERSION));
@@ -293,7 +293,7 @@ variables_map GetConsoleArguments(int argc, char** argv, std::string& configFile
if (variablesMap.count("help"))
std::cout << all << "\n";
else if (variablesMap.count("version"))
- std::cout << _FULLVERSION << "\n";
+ std::cout << Revision::GetFullVersion() << "\n";
return variablesMap;
}