Skip to content

Commit

Permalink
Display server version on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
vilarion committed Dec 2, 2020
1 parent 77ac263 commit b91fc82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include "script/LuaReloadScript.hpp"
#include "script/server.hpp"
#include "tuningConstants.hpp"
#include "version.hpp"

#include <memory>
#include <sstream>
Expand All @@ -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();

Expand Down

0 comments on commit b91fc82

Please sign in to comment.