summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 16:13:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 16:13:27 +0300
commit4455f3a3dd5fa28ef7fc1d1cf6d2bff723c90b47 (patch)
tree087515469a7301ea367ae7218dc276f5549caaa9 /src/commands.cpp
parent32ec83a137def94dbea627350f0318c21afbbc09 (diff)
downloadmv-4455f3a3dd5fa28ef7fc1d1cf6d2bff723c90b47.tar.gz
mv-4455f3a3dd5fa28ef7fc1d1cf6d2bff723c90b47.tar.bz2
mv-4455f3a3dd5fa28ef7fc1d1cf6d2bff723c90b47.tar.xz
mv-4455f3a3dd5fa28ef7fc1d1cf6d2bff723c90b47.zip
Move chat command /talkpet into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 2a067fb90..e33a78fb6 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -106,16 +106,6 @@ impHandler(hack)
return true;
}
-impHandler(talkPet)
-{
- // in future probably need add channel detection
- if (!localPlayer->getPets().empty())
- Net::getChatHandler()->talkPet(event.args, GENERAL_CHANNEL);
- else
- Net::getChatHandler()->talk(event.args, GENERAL_CHANNEL);
- return true;
-}
-
impHandler(gm)
{
Net::getChatHandler()->talk("@wgm " + event.args, GENERAL_CHANNEL);