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