More logging adjustments

This commit is contained in:
Akkadius
2019-07-05 04:21:22 -05:00
parent ffd652a643
commit f0937c3963
6 changed files with 74 additions and 106 deletions
+3 -7
View File
@@ -104,9 +104,7 @@ bool Database::GetLoginDataFromAccountInfo(
auto results = QueryDatabase(query);
if (results.RowCount() != 1) {
LogF(
Logs::Detail,
Logs::Login_Server,
LogLoginserverDetail(
"Could not find account for name [{0}] login [{1}]",
name,
loginserver
@@ -124,15 +122,13 @@ bool Database::GetLoginDataFromAccountInfo(
id = atoi(row[0]);
password = row[1];
LogF(
Logs::Detail,
Logs::Login_Server,
LogLoginserverDetail(
"Found account for name [{0}] login [{1}]",
name,
loginserver
);
return false;
return true;
}
/**