From b063ffa91bbeb324568ae84cde9a90fbb28797f7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Aug 2014 13:10:52 +0300 Subject: Move chat command /createguild into actions. --- src/commands.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/commands.cpp') 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) -- cgit v1.2.3-70-g09d2