[Bug Fix] Fix Bot Group Loading (#2366)

* [Bug Fix] Fix Bot Group Loading

There were some weird cases where this code would falsely say a bot group did not exist and this would disallow summoning this botgroup as well as deleting it.

* Typo.
This commit is contained in:
Kinglykrab authored and GitHub committed 2022-08-20 03:15:58 -05:00
1 parent 25c6b055a4
commit 6232a64cdb
3 files changed
+6 -41

No files matched your search

+1 -1
View File
@@ -145,7 +145,7 @@ public:
bool SaveOwnerOption(const uint32 owner_id, const std::pair<size_t, size_t> type, const std::pair<bool, bool> flag);
/* Bot bot-group functions */
bool QueryBotGroupExistence(const std::string& botgroup_name, bool& extant_flag);
bool QueryBotGroupExistence(const std::string& botgroup_name);
bool LoadBotGroupIDByBotGroupName(const std::string& botgroup_name, uint32& botgroup_id);
bool LoadBotGroupIDByLeaderID(const uint32 leader_id, uint32& botgroup_id);