mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-26 13:42:29 +00:00
Remove Duplicative MySQL Error: Error in Client::TryReward(): %s (%s)
This commit is contained in:
parent
d6ba9d7108
commit
71842c62de
@ -5383,7 +5383,6 @@ bool Client::TryReward(uint32 claim_id) {
|
|||||||
AccountID(), claim_id);
|
AccountID(), claim_id);
|
||||||
auto results = database.QueryDatabase(query);
|
auto results = database.QueryDatabase(query);
|
||||||
if(!results.Success())
|
if(!results.Success())
|
||||||
Log.Out(Logs::General, Logs::Error, "Error in Client::TryReward(): %s (%s)", query.c_str(), results.ErrorMessage().c_str());
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
query = StringFormat("UPDATE account_rewards SET amount = (amount-1) "
|
query = StringFormat("UPDATE account_rewards SET amount = (amount-1) "
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user