From b91fc82c26b679fb8243b2f5a5011fe508730db6 Mon Sep 17 00:00:00 2001 From: vilarion Date: Wed, 2 Dec 2020 07:34:29 +0100 Subject: [PATCH] Display server version on startup --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index dbc37a62..58e6e8e9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -36,6 +36,7 @@ #include "script/LuaReloadScript.hpp" #include "script/server.hpp" #include "tuningConstants.hpp" +#include "version.hpp" #include #include @@ -48,7 +49,7 @@ auto main(int argc, char *argv[]) -> int { // get more info for unspecified exceptions std::set_terminate(__gnu_cxx::__verbose_terminate_handler); - Logger::info(LogFacility::Other) << "Starting Illarion!" << Log::end; + Logger::info(LogFacility::Other) << "Starting Illarion " SERVER_VERSION "!" << Log::end; init_sighandlers();