summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 21:09:56 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 21:09:56 +0300
commit7b882f006038b0b24a86ca285afb005125dc5d2d (patch)
treea4ef7404d1c7c7691b04862c040bc89933e0b7d8 /src/commands.cpp
parent67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d (diff)
downloadmanaverse-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.gz
manaverse-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.bz2
manaverse-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.xz
manaverse-7b882f006038b0b24a86ca285afb005125dc5d2d.zip
Move chat command /info into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index acb240b28..64d0e7e52 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -157,26 +157,6 @@ impHandler(hack)
return true;
}
-impHandler(info)
-{
- if (!event.tab || !localPlayer || tmwServerVersion > 0)
- return false;
-
- switch (event.tab->getType())
- {
- case ChatTabType::GUILD:
- {
- const Guild *const guild = localPlayer->getGuild();
- if (guild)
- Net::getGuildHandler()->info(guild->getId());
- break;
- }
- default:
- break;
- }
- return true;
-}
-
impHandler(wait)
{
if (localPlayer)