diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:47:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:47:16 +0300 |
commit | 8c53409bb625415ddc6fe131061c7e540d56a67e (patch) | |
tree | 95ba8f651a4d15794c0fdf5aebb86e88f56480ca /src/commands.cpp | |
parent | 0888773fc1de5cc2aa1d92564e8d05231189e6f9 (diff) | |
download | plus-8c53409bb625415ddc6fe131061c7e540d56a67e.tar.gz plus-8c53409bb625415ddc6fe131061c7e540d56a67e.tar.bz2 plus-8c53409bb625415ddc6fe131061c7e540d56a67e.tar.xz plus-8c53409bb625415ddc6fe131061c7e540d56a67e.zip |
Move chat command /removeattack into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
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)) |