mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 19:51:29 +00:00
Remove redundant MySQL error message in ClearRaidLeader
This commit is contained in:
parent
e7b4a38e69
commit
9c92cbb780
@ -3567,12 +3567,8 @@ void Database::ClearRaidLeader(uint32 gid, uint32 rid)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string query = StringFormat("DELETE from raid_leaders where gid = %lu and rid = %lu",
|
std::string query = StringFormat("DELETE from raid_leaders where gid = %lu and rid = %lu", (unsigned long)gid, (unsigned long)rid);
|
||||||
(unsigned long)gid, (unsigned long)rid);
|
QueryDatabase(query);
|
||||||
auto results = QueryDatabase(query);
|
|
||||||
|
|
||||||
if (!results.Success())
|
|
||||||
std::cout << "Unable to clear raid leader: " << results.ErrorMessage() << std::endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Database::VerifyInstanceAlive(uint16 instance_id, uint32 char_id)
|
bool Database::VerifyInstanceAlive(uint16 instance_id, uint32 char_id)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user