diff --git a/zone/bot_commands/blocked_buffs.cpp b/zone/bot_commands/blocked_buffs.cpp index 0b029ba58..69a1aa13a 100644 --- a/zone/bot_commands/blocked_buffs.cpp +++ b/zone/bot_commands/blocked_buffs.cpp @@ -368,7 +368,7 @@ void bot_command_blocked_pet_buffs(Client* c, const Seperator* sep) uint16 spell_id; if (!arg1.compare("add")) { - if (!sep->IsNumber(2) || !IsValidSpell(atoi(sep->arg[2])) || !IsBeneficialSpell(atoi(sep->arg[2])) { + if (!sep->IsNumber(2) || !IsValidSpell(atoi(sep->arg[2])) || !IsBeneficialSpell(atoi(sep->arg[2]))) { c->Message(Chat::Yellow, "You must enter a valid spell ID."); return; }