mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +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) {
|
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"(
|
static constexpr const char* sHelpString = R"(
|
||||||
Settings:
|
Settings:
|
||||||
settings help displays this help
|
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
|
// even though we have the value, we want to ignore it in order to make use of access
|
||||||
// control checks
|
// control checks
|
||||||
|
|
||||||
|
if(keyACL.second != Settings::SettingsAccessMask::noaccess){
|
||||||
|
|
||||||
try{
|
try{
|
||||||
|
|
||||||
Settings::SettingsAccessControl acl = Application::SettingsSingleton.getConsoleInputAccessMapping(composedKey);
|
Settings::SettingsAccessControl acl = Application::SettingsSingleton.getConsoleInputAccessMapping(composedKey);
|
||||||
@ -496,6 +495,7 @@ void TConsole::Command_Settings(const std::string&, const std::vector<std::strin
|
|||||||
beammp_errorf("Error when getting key: {}", e.what());
|
beammp_errorf("Error when getting key: {}", e.what());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}else {
|
}else {
|
||||||
beammp_errorf("Unknown argument for cammand 'settings': {}", args.front());
|
beammp_errorf("Unknown argument for cammand 'settings': {}", args.front());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user