mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-09 20:43:52 +00:00
Remove Duplicative MySQL Error: Error in SetSharedPlatinum query '
This commit is contained in:
parent
3a3cc8a8f6
commit
f15221784c
@ -332,7 +332,6 @@ bool SharedDatabase::SetSharedPlatinum(uint32 account_id, int32 amount_to_add) {
|
||||
std::string query = StringFormat("UPDATE account SET sharedplat = sharedplat + %i WHERE id = %i", amount_to_add, account_id);
|
||||
auto results = QueryDatabase(query);
|
||||
if (!results.Success()) {
|
||||
std::cerr << "Error in SetSharedPlatinum query '" << query << "' " << results.ErrorMessage() << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user