summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 18:31:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 18:31:02 +0300
commitffac5076dcc94ee88ce68d351de071ab8f830a77 (patch)
tree1f5c3b8ddf9ba1056521d19d1b4b7c0214f9daf0 /src/net/eathena/adminhandler.cpp
parent64d47f267be567cf259de29982acfed7eb76111e (diff)
downloadmv-ffac5076dcc94ee88ce68d351de071ab8f830a77.tar.gz
mv-ffac5076dcc94ee88ce68d351de071ab8f830a77.tar.bz2
mv-ffac5076dcc94ee88ce68d351de071ab8f830a77.tar.xz
mv-ffac5076dcc94ee88ce68d351de071ab8f830a77.zip
eathena: add packet CMSG_ADMIN_ID_TO_LOGIN 0x01df.
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index d99af7d1e..0d677a413 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -153,4 +153,13 @@ void AdminHandler::muteName(const std::string &name) const
outMsg.writeString(name, 24, "name");
}
+void AdminHandler::requestLogin(const Being *const being) const
+{
+ if (!being)
+ return;
+
+ MessageOut outMsg(CMSG_ADMIN_ID_TO_LOGIN);
+ outMsg.writeInt32(being->getId(), "account id");
+}
+
} // namespace EAthena