mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Remove Duplicative MySQL Error:
This commit is contained in:
@@ -162,7 +162,6 @@ bool Database::CheckBannedIPs(const char* loginIP)
|
||||
|
||||
if (!results.Success())
|
||||
{
|
||||
std::cerr << "Error in CheckBannedIPs query '" << query << "' " << results.ErrorMessage() << std::endl;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,6 @@ uint8 SharedDatabase::GetGMSpeed(uint32 account_id)
|
||||
std::string query = StringFormat("SELECT gmspeed FROM account WHERE id = '%i'", account_id);
|
||||
auto results = QueryDatabase(query);
|
||||
if (!results.Success()) {
|
||||
std::cerr << "Error in GetGMSpeed query '" << query << "' " << results.ErrorMessage() << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user