diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:09:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:09:56 +0300 |
commit | 7b882f006038b0b24a86ca285afb005125dc5d2d (patch) | |
tree | a4ef7404d1c7c7691b04862c040bc89933e0b7d8 /src/commands.cpp | |
parent | 67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d (diff) | |
download | mv-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.gz mv-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.bz2 mv-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.xz mv-7b882f006038b0b24a86ca285afb005125dc5d2d.zip |
Move chat command /info into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 20 |
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) |