summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 13:16:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 13:16:08 +0300
commit4bb530a447cc08fbe176cface478898e0b35f5d1 (patch)
treead7bdb01082b133108cccb9e24080c00a2983591 /src/commands.cpp
parentb063ffa91bbeb324568ae84cde9a90fbb28797f7 (diff)
downloadmv-4bb530a447cc08fbe176cface478898e0b35f5d1.tar.gz
mv-4bb530a447cc08fbe176cface478898e0b35f5d1.tar.bz2
mv-4bb530a447cc08fbe176cface478898e0b35f5d1.tar.xz
mv-4bb530a447cc08fbe176cface478898e0b35f5d1.zip
Move chat command /party into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 9428dd6e3..f709e4a91 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -251,23 +251,6 @@ static void outStringNormal(ChatTab *const tab,
}
}
-impHandler(party)
-{
- if (!event.tab)
- return false;
-
- if (!event.args.empty())
- {
- Net::getPartyHandler()->invite(event.args);
- }
- else
- {
- // TRANSLATORS: party invite message
- event.tab->chatLog(_("Please specify a name."), ChatMsgType::BY_SERVER);
- }
- return true;
-}
-
impHandler(me)
{
outString(event.tab, strprintf("*%s*", event.args.c_str()), event.args);