mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Clang bots compile fix
This commit is contained in:
parent
4a7984f04d
commit
7198e670ae
@ -11864,7 +11864,7 @@ void Bot::ProcessBotCommands(Client *c, const Seperator *sep) {
|
||||
}
|
||||
|
||||
if(!strcasecmp(sep->arg[1], "inventory") && !strcasecmp(sep->arg[2], "remove")) {
|
||||
if((c->GetTarget() == nullptr) || (sep->arg[3] == '\0') || !c->GetTarget()->IsBot())
|
||||
if((c->GetTarget() == nullptr) || (sep->arg[3][0] == '\0') || !c->GetTarget()->IsBot())
|
||||
{
|
||||
c->Message(15, "Usage: #bot inventory remove [slotid] (You must have a bot targetted) ");
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user