From 308302f858d24d2cc1b1601b100324e2baa50765 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 8 Feb 2010 16:20:39 -0700 Subject: Move party creation command from eA's PartyTab to CommandHandler Also fix party invite by name when you aren't in a party. --- src/net/ea/gui/partytab.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/net/ea/gui') diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index e6526a3a..bcb449ab 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -55,8 +55,6 @@ void PartyTab::handleInput(const std::string &msg) void PartyTab::showHelp() { chatLog(_("/help > Display this help.")); - chatLog(_("/create > Create a new party")); - chatLog(_("/new > Alias of create")); chatLog(_("/invite > Invite a player to your party")); chatLog(_("/leave > Leave the party you are in")); chatLog(_("/kick > Kick some one from the party you are in")); @@ -68,13 +66,7 @@ bool PartyTab::handleCommand(const std::string &type, const std::string &args) { if (type == "help") { - if (args == "create" || args == "new") - { - chatLog(_("Command: /new ")); - chatLog(_("Command: /create ")); - chatLog(_("These commands create a new party called .")); - } - else if (args == "invite") + if (args == "invite") { chatLog(_("Command: /invite ")); chatLog(_("This command invites to party with you.")); -- cgit v1.2.3-70-g09d2