Code cleanup

This commit is contained in:
Akkadius
2019-12-23 00:38:58 -06:00
parent 81acd797b4
commit bc4e09cea4
3 changed files with 27 additions and 0 deletions
+3
View File
@@ -195,6 +195,9 @@ int main(int argc, char **argv)
LoginserverWebserver::RegisterRoutes(api);
}
/**
* Command handler
*/
if (argc > 1) {
LogSys.LoadLogSettingsDefaults();
LogSys.log_settings[Logs::Debug].log_to_console = static_cast<uint8>(Logs::General);