summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index f7ad89b68..1762b6000 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -568,7 +568,7 @@ impHandler(addAttack)
impHandler(removeAttack)
{
if (!actorManager || event.args.empty()
- || !actorManager->isInAttackList(event.args))
+ || !actorManager->isInIgnoreAttackList(event.args))
{
return false;
}