From d9bdbbd30748e7016d00c6bc757a2d48d3457e1c Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Mon, 3 Jun 2024 00:47:44 -0400 Subject: [PATCH] status string inverted logic fixed about status * related to commit 90573105519953847be513068c1f05f1a1771d7c --- .gitlab-ci.yml | 2 +- src/server.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0fff2004..25ed09ce7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ stages: - make install artifacts: when: on_success - expire_in: 1d + expire_in: 1y paths: - artifact/* diff --git a/src/server.cpp b/src/server.cpp index bab6af0aa..9a7fccb9d 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3304,7 +3304,7 @@ std::string Server::getStatusString() os << "# Server: "; // Version - if (!g_settings->getBool("announce_mt_id")) + if (g_settings->getBool("announce_mt_id")) os << "version=" << "0.4.16"; else os << "version=" << g_version_string;