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.
This commit is contained in:
parent
cea290200d
commit
dda6a3cb3a
@ -381,7 +381,6 @@ free(logname);*/
|
|||||||
logging::Info("Initializer stack done");
|
logging::Info("Initializer stack done");
|
||||||
#if ENABLE_TEXTMODE
|
#if ENABLE_TEXTMODE
|
||||||
hack::command_stack().push("exec cat_autoexec_textmode");
|
hack::command_stack().push("exec cat_autoexec_textmode");
|
||||||
hack::command_stack().push("exec blacklist");
|
|
||||||
#else
|
#else
|
||||||
hack::command_stack().push("exec cat_autoexec");
|
hack::command_stack().push("exec cat_autoexec");
|
||||||
#endif
|
#endif
|
||||||
|
@ -47,17 +47,6 @@ bool is_rocket(int class_id)
|
|||||||
void BeginConVars()
|
void BeginConVars()
|
||||||
{
|
{
|
||||||
logging::Info("Begin ConVars");
|
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"))
|
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);
|
std::ofstream cfg_autoexec_textmode("tf/cfg/cat_autoexec_textmode.cfg", std::ios::out | std::ios::trunc);
|
||||||
|
Reference in New Issue
Block a user