summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-24 21:32:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-24 21:32:16 +0300
commit9522e88dbdb425211f68e94518dcfb63dc74f306 (patch)
treefcef589c7eeb62042baa162b8afc2a21a74c01f2 /src/actions/commands.cpp
parent4b5a38945c47d492fe8e4581b2d92956a689612e (diff)
downloadManaVerse-9522e88dbdb425211f68e94518dcfb63dc74f306.tar.gz
ManaVerse-9522e88dbdb425211f68e94518dcfb63dc74f306.tar.bz2
ManaVerse-9522e88dbdb425211f68e94518dcfb63dc74f306.tar.xz
ManaVerse-9522e88dbdb425211f68e94518dcfb63dc74f306.zip
Move chat command /blacklist 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 aba86a87f..79ca62973 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -205,4 +205,11 @@ impHandler(chatNeutral)
return true;
}
+impHandler(chatBlackList)
+{
+ // TRANSLATORS: blacklist command
+ changeRelation(event.args, PlayerRelation::BLACKLISTED, _("blacklisted"), event.tab);
+ return true;
+}
+
} // namespace Actions