summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/adminhandler.cpp2
-rw-r--r--src/net/eathena/protocol.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index f470753e9..a64374a38 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -124,6 +124,8 @@ void AdminHandler::resetSkills() const
void AdminHandler::gotoName(const std::string &name) const
{
+ MessageOut outMsg(CMSG_ADMIN_GOTO);
+ outMsg.writeString(name, 24, "name");
}
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index d3e02338e..5b8b7e274 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -303,6 +303,7 @@
#define CMSG_ADMIN_KICK_ALL 0x00ce
#define CMSG_ADMIN_MUTE 0x0149
#define CMSG_ADMIN_RESET_PLAYER 0x0197
+#define CMSG_ADMIN_GOTO 0x01bb
#define CMSG_GUILD_CHECK_MASTER 0x014d
#define CMSG_GUILD_REQUEST_INFO 0x014f