Adjust order of operations

This commit is contained in:
Akkadius committed 2019-12-24 23:57:36 -06:00
1 parent 80d8736276
commit 995fb6914e
2 files changed
+6 -5

No files matched your search

+5 -4
View File
@@ -182,12 +182,13 @@ namespace EQEmuCommand {
}
std::cout << std::endl;
}
else if (!ran_command) {
std::cerr << "Unknown command [" << argv[1] << "] ! Try --help" << std::endl;
std::exit(1);
}
exit(1);
if (ran_command) {
std::exit(1);
}
}
}
+1 -1
View File
@@ -201,7 +201,7 @@ namespace DatabaseSchema {
static std::vector<std::string> GetServerTables()
{
std::vector<std::string> tables = {
"Banned_IPs",
"banned_ips",
"bugs",
"bug_reports",
"command_settings",