summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index d2155d54b..dab837172 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -47,7 +47,6 @@
#include "net/guildhandler.h"
#include "net/homunculushandler.h"
#include "net/partyhandler.h"
-#include "net/pethandler.h"
#include "net/serverfeatures.h"
#include "resources/iteminfo.h"
@@ -376,14 +375,6 @@ impHandler(commandEmote)
return false;
}
-impHandler(commandEmotePet)
-{
- // need use actual pet id
- petHandler->emote(static_cast<uint8_t>(
- atoi(event.args.c_str())), 0);
- return true;
-}
-
impHandler(awayMessage)
{
if (localPlayer)
@@ -733,23 +724,6 @@ impHandler(talkRaw)
return true;
}
-impHandler(talkPet)
-{
- std::string args = event.args;
- // in future probably need add channel detection
- if (!localPlayer->getPets().empty())
- {
- if (findCutFirst(args, "/me "))
- args = textToMe(args);
- chatHandler->talkPet(args, GENERAL_CHANNEL);
- }
- else
- {
- chatHandler->talk(args, GENERAL_CHANNEL);
- }
- return true;
-}
-
impHandler(gm)
{
chatHandler->talk("@wgm " + event.args, GENERAL_CHANNEL);
@@ -796,16 +770,6 @@ impHandler(serverUnIgnoreWhisper)
return true;
}
-impHandler(setPetName)
-{
- const std::string args = event.args;
- if (args.empty())
- return false;
-
- petHandler->setName(args);
- return true;
-}
-
impHandler(setHomunculusName)
{
const std::string args = event.args;