summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-24 21:38:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-24 21:38:45 +0300
commit4805bee18392b56f39be68b0d6a0384cbda0f846 (patch)
tree7ccbc3892df6665667361da56e3d3abbdd1bcc7a /src/actions/commands.cpp
parent9522e88dbdb425211f68e94518dcfb63dc74f306 (diff)
downloadManaVerse-4805bee18392b56f39be68b0d6a0384cbda0f846.tar.gz
ManaVerse-4805bee18392b56f39be68b0d6a0384cbda0f846.tar.bz2
ManaVerse-4805bee18392b56f39be68b0d6a0384cbda0f846.tar.xz
ManaVerse-4805bee18392b56f39be68b0d6a0384cbda0f846.zip
Move chat command /enemy into actions.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 79ca62973..5c16d17cc 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -212,4 +212,11 @@ impHandler(chatBlackList)
return true;
}
+impHandler(chatEnemy)
+{
+ // TRANSLATORS: enemy command
+ changeRelation(event.args, PlayerRelation::ENEMY2, _("enemy"), event.tab);
+ return true;
+}
+
} // namespace Actions