Merge branch 'rc-v3.0.1' into rc-v3.1.0

This commit is contained in:
Lion Kortlepel
2022-02-15 15:15:51 +01:00
9 changed files with 36 additions and 15 deletions

View File

@@ -424,10 +424,6 @@ TConsole::TConsole() {
mCommandline.set_history_limit(20);
mCommandline.set_prompt("> ");
BackupOldLog();
bool success = mCommandline.enable_write_to_file("Server.log");
if (!success) {
beammp_error("unable to open file for writing: \"Server.log\"");
}
mCommandline.on_command = [this](Commandline& c) {
try {
auto cmd = c.get_command();