From 8c53409bb625415ddc6fe131061c7e540d56a67e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 21:47:16 +0300 Subject: Move chat command /removeattack into actions. --- src/commands.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 46d2f17ea..6ba4789c9 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -157,21 +157,6 @@ impHandler(hack) return true; } -impHandler(removeAttack) -{ - if (!actorManager || event.args.empty() - || !actorManager->isInAttackList(event.args)) - { - return false; - } - - actorManager->removeAttackMob(event.args); - - if (socialWindow) - socialWindow->updateAttackFilter(); - return true; -} - impHandler(addIgnoreAttack) { if (!actorManager || actorManager->isInIgnoreAttackList(event.args)) -- cgit v1.2.3-70-g09d2