From dda6a3cb3a3ed5c9df8c1eb2b84df182f9859133 Mon Sep 17 00:00:00 2001 From: aUniqueUser Date: Mon, 15 Apr 2024 23:12:13 -0400 Subject: [PATCH] Revert "Added blacklist list to helpers" - Reguardless of accusations against the said person (or any person for that matter), this should be up to user discretion to have a player blacklisted, not this garbage. Reverted. This reverts commit cea290200d6da5211641a250d09421e2b48d3e0d. --- src/hack.cpp | 1 - src/helpers.cpp | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/src/hack.cpp b/src/hack.cpp index 7bf6bc61..5c455918 100644 --- a/src/hack.cpp +++ b/src/hack.cpp @@ -381,7 +381,6 @@ free(logname);*/ logging::Info("Initializer stack done"); #if ENABLE_TEXTMODE hack::command_stack().push("exec cat_autoexec_textmode"); - hack::command_stack().push("exec blacklist"); #else hack::command_stack().push("exec cat_autoexec"); #endif diff --git a/src/helpers.cpp b/src/helpers.cpp index c222f6f9..bf6dd416 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -47,17 +47,6 @@ bool is_rocket(int class_id) void BeginConVars() { logging::Info("Begin ConVars"); - - if (!std::ifstream("tf/cfg/blacklist.cfg")) - { - std::ofstream cfg_blacklist("tf/cfg/blacklist.cfg", std::ios::out | std::ios::trunc); - if (cfg_blacklist.good()) - { - cfg_blacklist << "// Blacklisted people\n" - "cat_pl_add_id 1522451783 RAGE"; //qtTF2 is pedophile everyone knows it - } - } - if (!std::ifstream("tf/cfg/cat_autoexec_textmode.cfg")) { std::ofstream cfg_autoexec_textmode("tf/cfg/cat_autoexec_textmode.cfg", std::ios::out | std::ios::trunc);