diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:10:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:10:52 +0300 |
commit | b063ffa91bbeb324568ae84cde9a90fbb28797f7 (patch) | |
tree | 26d6be637bde193829ce4e6ccb7d17e4c0ab6d1a /src/commands.cpp | |
parent | e62706843143949918653a03cc0cbf6620687a60 (diff) | |
download | manaverse-b063ffa91bbeb324568ae84cde9a90fbb28797f7.tar.gz manaverse-b063ffa91bbeb324568ae84cde9a90fbb28797f7.tar.bz2 manaverse-b063ffa91bbeb324568ae84cde9a90fbb28797f7.tar.xz manaverse-b063ffa91bbeb324568ae84cde9a90fbb28797f7.zip |
Move chat command /createguild into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 17 |
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) |