mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Warning fixes, general cleanup (#5053)
This commit is contained in:
@@ -458,9 +458,7 @@ uint32 helper_bot_create(Client *bot_owner, std::string bot_name, uint8 bot_clas
|
||||
return bot_id;
|
||||
}
|
||||
|
||||
bool available_flag = false;
|
||||
|
||||
!database.botdb.QueryNameAvailability(bot_name, available_flag);
|
||||
bool available_flag = database.botdb.QueryNameAvailability(bot_name);
|
||||
|
||||
if (!available_flag) {
|
||||
bot_owner->Message(
|
||||
|
||||
Reference in New Issue
Block a user