summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 13:04:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 13:04:02 +0300
commite62706843143949918653a03cc0cbf6620687a60 (patch)
tree648b609d88e7e642d6ecd0007780aaee03ee92db /src/commands.cpp
parent4c0d3dc62399e35c288cb82dfbf3f8811328f06c (diff)
downloadplus-e62706843143949918653a03cc0cbf6620687a60.tar.gz
plus-e62706843143949918653a03cc0cbf6620687a60.tar.bz2
plus-e62706843143949918653a03cc0cbf6620687a60.tar.xz
plus-e62706843143949918653a03cc0cbf6620687a60.zip
Move chat command /createparty 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 ed90a9d56..6cdc7cca4 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -251,23 +251,6 @@ static void outStringNormal(ChatTab *const tab,
}
}
-impHandler(createParty)
-{
- if (!event.tab)
- return false;
-
- if (event.args.empty())
- {
- // TRANSLATORS: create party message
- event.tab->chatLog(_("Party name is missing."), ChatMsgType::BY_SERVER);
- }
- else
- {
- Net::getPartyHandler()->create(event.args);
- }
- return true;
-}
-
impHandler(createGuild)
{
if (!event.tab || tmwServerVersion > 0)