summaryrefslogtreecommitdiff
path: root/src/net/ea/gui/guildtab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/gui/guildtab.cpp')
-rw-r--r--src/net/ea/gui/guildtab.cpp36
1 files changed, 1 insertions, 35 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp
index 889b9624b..46b1f1649 100644
--- a/src/net/ea/gui/guildtab.cpp
+++ b/src/net/ea/gui/guildtab.cpp
@@ -63,28 +63,6 @@ GuildTab::~GuildTab()
bool GuildTab::handleCommand(const std::string &restrict type,
const std::string &restrict args)
{
- if (type == "help")
- {
- if (args == "invite")
- {
- // TRANSLATORS: guild chat help
- chatLog(_("Command: /invite <nick>"));
- // TRANSLATORS: guild chat help
- chatLog(_("This command invites <nick> to the guild you're in."));
- // TRANSLATORS: guild chat help
- chatLog(_("If the <nick> has spaces in it, enclose it in "
- "double quotes (\")."));
- }
- else if (args == "leave")
- {
- // TRANSLATORS: guild chat help
- chatLog(_("Command: /leave"));
- // TRANSLATORS: guild chat help
- chatLog(_("This command causes the player to leave the guild."));
- }
- else
- return false;
- }
/*
else if (type == "create" || type == "new")
{
@@ -94,7 +72,7 @@ bool GuildTab::handleCommand(const std::string &restrict type,
Net::getGuildHandler()->create(args);
}
*/
- else if (type == "invite" && taGuild)
+ if (type == "invite" && taGuild)
{
Net::getGuildHandler()->invite(taGuild->getId(), args);
}
@@ -131,18 +109,6 @@ void GuildTab::handleInput(const std::string &msg)
ChatWindow::doReplace(msg));
}
-void GuildTab::showHelp()
-{
- // TRANSLATORS: guild chat help
- chatLog(_("/help > Display this help."));
- // TRANSLATORS: guild chat help
- chatLog(_("/invite > Invite a player to your guild"));
- // TRANSLATORS: guild chat help
- chatLog(_("/leave > Leave the guild you are in"));
- // TRANSLATORS: guild chat help
- chatLog(_("/kick > Kick someone from the guild you are in"));
-}
-
void GuildTab::getAutoCompleteList(StringVect &names) const
{
if (taGuild)