mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-28 07:22:29 +00:00
Remove Duplicative MySQL Error: Error while querying Spell ID %i spell_globals table query '%s': %s
This commit is contained in:
parent
9837e172ac
commit
ac2b53c94b
@ -4962,7 +4962,6 @@ bool Client::SpellGlobalCheck(uint16 spell_ID, uint32 char_ID) {
|
|||||||
"WHERE spellid = %i", spell_ID);
|
"WHERE spellid = %i", spell_ID);
|
||||||
auto results = database.QueryDatabase(query);
|
auto results = database.QueryDatabase(query);
|
||||||
if (!results.Success()) {
|
if (!results.Success()) {
|
||||||
Log.Out(Logs::General, Logs::Error, "Error while querying Spell ID %i spell_globals table query '%s': %s", spell_ID, query.c_str(), results.ErrorMessage().c_str());
|
|
||||||
return false; // Query failed, so prevent spell from scribing just in case
|
return false; // Query failed, so prevent spell from scribing just in case
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user