From b8d85c62517da91cf49428a419eca10cf82682f2 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 2 Sep 2016 19:43:53 +0100 Subject: Update stuff for the new versioning system. --- src/inspircd.cpp | 2 +- src/logger.cpp | 2 +- src/server.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 5d4d8081f..5fe2ef076 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -326,7 +326,7 @@ InspIRCd::InspIRCd(int argc, char** argv) : if (do_version) { - std::cout << std::endl << INSPIRCD_VERSION << " " << INSPIRCD_REVISION << std::endl; + std::cout << std::endl << INSPIRCD_VERSION << std::endl; Exit(EXIT_STATUS_NOERROR); } diff --git a/src/logger.cpp b/src/logger.cpp index 8bd5f7f88..5b4a948ee 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -50,7 +50,7 @@ */ const char LogStream::LogHeader[] = - "Log started for " INSPIRCD_VERSION " (" INSPIRCD_REVISION ", " MODULE_INIT_STR ")" + "Log started for " INSPIRCD_VERSION " (" MODULE_INIT_STR ")" " - compiled on " INSPIRCD_SYSTEM; LogManager::LogManager() diff --git a/src/server.cpp b/src/server.cpp index f22cf1ad4..932be319e 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -64,7 +64,7 @@ void InspIRCd::Rehash(const std::string& uuid) std::string InspIRCd::GetVersionString(bool getFullVersion) { if (getFullVersion) - return INSPIRCD_VERSION " " + Config->ServerName + " :" INSPIRCD_SYSTEM " [" INSPIRCD_REVISION "," INSPIRCD_SOCKETENGINE_NAME "," + Config->sid + "]"; + return INSPIRCD_VERSION " " + Config->ServerName + " :" INSPIRCD_SYSTEM " [" INSPIRCD_SOCKETENGINE_NAME "," + Config->sid + "]"; return INSPIRCD_BRANCH " " + Config->ServerName + " :" + Config->CustomVersion; } -- cgit v1.2.3