From 77f6e9f842f49954da7ba5941856f0713aca4e37 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Wed, 23 Jun 2021 17:01:54 +0200 Subject: [PATCH] fix typo --- src/TConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TConfig.cpp b/src/TConfig.cpp index e28f55f..2e336b4 100644 --- a/src/TConfig.cpp +++ b/src/TConfig.cpp @@ -68,7 +68,7 @@ void TConfig::CreateConfigFile(std::string_view name) { "# IMPORTANT: Fill in the AuthKey with the key you got from `https://beammp.com/k/dashboard` on the left under \"Keys\"\n" << '\n'; ofs << tbl << '\n'; - error("There was no \"" + std::string(ConfigFileName) + "\" file (this is normal for the first time running the server), so one was generated for you. It was automatically filled with the settings from your Server.cfg, if you have one. Please open ServerConfig.toml and ensure your AuthKey and other settings are filled in and correct, then restart the server. The old Server.cfg file will no longer be used and cause a warning if it exists from now on."); + error("There was no \"" + std::string(ConfigFileName) + "\" file (this is normal for the first time running the server), so one was generated for you. It was automatically filled with the settings from your Server.cfg, if you have one. Please open ServerConfig.toml and ensure your AuthKey and other settings are filled in and correct, then restart the server. The old Server.cfg file will no longer be used and causes a warning if it exists from now on."); mFailed = true; } else { error("Couldn't create " + std::string(name) + ". Check permissions, try again, and contact support if it continues not to work.");