From 7919f81927c8b70c473047eb55a6b4d9495c4982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucca=20Jim=C3=A9nez=20K=C3=B6nings?= Date: Wed, 26 Jun 2024 13:08:26 +0200 Subject: [PATCH] remove dead code for deprecated config format --- src/TConfig.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/TConfig.cpp b/src/TConfig.cpp index 959ad82..c3a0a8d 100644 --- a/src/TConfig.cpp +++ b/src/TConfig.cpp @@ -177,15 +177,6 @@ void TConfig::CreateConfigFile() { if (mDisableConfig) { return; } - try { - if (fs::exists("Server.cfg")) { - // parse it (this is weird and bad and should be removed in some future version) - // ParseOldFormat(); - } - } catch (const std::exception& e) { - beammp_error("an error occurred and was ignored during config transfer: " + std::string(e.what())); - } - FlushToFile(); }