summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 22:12:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 22:12:34 +0300
commitf2849928b3eca83581ba77be8bf3b002085fdc9a (patch)
tree8e9acff94a1f17726828fabd28e40543535c15dd /src/commands.cpp
parent8c53409bb625415ddc6fe131061c7e540d56a67e (diff)
downloadmanaplus-f2849928b3eca83581ba77be8bf3b002085fdc9a.tar.gz
manaplus-f2849928b3eca83581ba77be8bf3b002085fdc9a.tar.bz2
manaplus-f2849928b3eca83581ba77be8bf3b002085fdc9a.tar.xz
manaplus-f2849928b3eca83581ba77be8bf3b002085fdc9a.zip
Move chat command /addignoreattack into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 6ba4789c9..fe49d64d6 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -157,19 +157,6 @@ impHandler(hack)
return true;
}
-impHandler(addIgnoreAttack)
-{
- if (!actorManager || actorManager->isInIgnoreAttackList(event.args))
- return false;
-
- actorManager->removeAttackMob(event.args);
- actorManager->addIgnoreAttackMob(event.args);
-
- if (socialWindow)
- socialWindow->updateAttackFilter();
- return true;
-}
-
impHandler0(serverIgnoreAll)
{
Net::getChatHandler()->ignoreAll();