summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-24 17:59:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-24 17:59:08 +0300
commit1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816 (patch)
tree910a3ec3ec9529908b93eb1b0de8b44304d5882d /src/actions/commands.cpp
parentefa45459a4d79cf1adba3327f6dad02fc5aa55cd (diff)
downloadmv-1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816.tar.gz
mv-1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816.tar.bz2
mv-1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816.tar.xz
mv-1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816.zip
Move chat command /disregard 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 0c029fa54..c63e8a439 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -191,4 +191,11 @@ impHandler(chatFriend)
return true;
}
+impHandler(chatDisregard)
+{
+ // TRANSLATORS: disregard command
+ changeRelation(event.args, PlayerRelation::DISREGARDED, _("disregarded"), event.tab);
+ return true;
+}
+
} // namespace Actions