From 7f47337e1bf272fc11835715137efa453e1a2829 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Wed, 2 Nov 2022 23:31:43 +0100 Subject: [PATCH] modify authkey notice to mention the possibility of entering an invalid key this makes it clear that you may put anything as your key, as long as you only want private servers. --- src/TConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TConfig.cpp b/src/TConfig.cpp index 41419ea..99f8db6 100644 --- a/src/TConfig.cpp +++ b/src/TConfig.cpp @@ -177,7 +177,7 @@ void TConfig::ParseFromFile(std::string_view name) { FlushToFile(); // all good so far, let's check if there's a key if (Application::GetSettingString(StrAuthKey).empty()) { - beammp_error("No AuthKey specified in the \"" + std::string(mConfigFileName) + "\" file. Please get an AuthKey, enter it into the config file, and restart this server."); + beammp_error("No AuthKey specified in the \"" + std::string(mConfigFileName) + "\" file. Please get an AuthKey, enter it into the config file, and restart this server. Alternatively, if you only want a private server (one that doesn't show up in the server list), you may put anything as your AuthKey, like \"hello\"."); Application::SetSubsystemStatus("Config", Application::Status::Bad); mFailed = true; return;