mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 12:57:16 +00:00
[Bug Fix] Fix scenario where dereferenced object could be null. (#2784)
This commit is contained in:
1 parent
93eddf603b
commit
4d355afe9d
3 files changed
+11
-9
No files matched your search
@@ -2358,7 +2358,7 @@ bool BotDatabase::LoadLeaderIDByBotGroupID(const uint32 group_id, uint32& leader
|
||||
bool BotDatabase::LoadBotGroupNameByBotGroupID(const uint32 group_id, std::string& botgroup_name)
|
||||
{
|
||||
if (!group_id) {
|
||||
false;
|
||||
return false;
|
||||
}
|
||||
|
||||
query = fmt::format(
|
||||
|
||||
Reference in new issue
Block a user