mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-01 23:35:41 +00:00
Remove additional debug calls
Signed-off-by: Lucca Jiménez Könings <development@jimkoen.com>
This commit is contained in:
parent
158875a962
commit
639c46ad36
@ -377,9 +377,6 @@ overloaded(Ts...) -> overloaded<Ts...>;
|
||||
|
||||
void TConsole::Command_Settings(const std::string&, const std::vector<std::string>& args) {
|
||||
|
||||
for (const std::string& arg : args)
|
||||
beammp_infof("Argument: {}", arg);
|
||||
|
||||
static constexpr const char* sHelpString = R"(
|
||||
Settings:
|
||||
settings help displays this help
|
||||
@ -473,6 +470,8 @@ void TConsole::Command_Settings(const std::string&, const std::vector<std::strin
|
||||
// even though we have the value, we want to ignore it in order to make use of access
|
||||
// control checks
|
||||
|
||||
if(keyACL.second != Settings::SettingsAccessMask::noaccess){
|
||||
|
||||
try{
|
||||
|
||||
Settings::SettingsAccessControl acl = Application::SettingsSingleton.getConsoleInputAccessMapping(composedKey);
|
||||
@ -495,6 +494,7 @@ void TConsole::Command_Settings(const std::string&, const std::vector<std::strin
|
||||
}catch(std::logic_error& e){
|
||||
beammp_errorf("Error when getting key: {}", e.what());
|
||||
}
|
||||
}
|
||||
}
|
||||
}else {
|
||||
beammp_errorf("Unknown argument for cammand 'settings': {}", args.front());
|
||||
|
Loading…
x
Reference in New Issue
Block a user