diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-02 22:20:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:56 +0300 |
commit | c2402dcae7a8b30c1db02a9bcc92839cfe30bd0c (patch) | |
tree | efaa4dee3ba0b2af0443599d755436238cf24178 /src | |
parent | d15ad0884f0c551cb8af721537b21c536a11c79d (diff) | |
download | manaplus-c2402dcae7a8b30c1db02a9bcc92839cfe30bd0c.tar.gz manaplus-c2402dcae7a8b30c1db02a9bcc92839cfe30bd0c.tar.bz2 manaplus-c2402dcae7a8b30c1db02a9bcc92839cfe30bd0c.tar.xz manaplus-c2402dcae7a8b30c1db02a9bcc92839cfe30bd0c.zip |
eathena: remove some unused packets.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/gamehandler.cpp | 1 | ||||
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 7 | ||||
-rw-r--r-- | src/net/eathena/loginhandler.h | 2 |
3 files changed, 0 insertions, 10 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp index 1cb6ef40b..07e4dd7c6 100644 --- a/src/net/eathena/gamehandler.cpp +++ b/src/net/eathena/gamehandler.cpp @@ -169,7 +169,6 @@ void GameHandler::ping(const int tick) const void GameHandler::disconnect2() const { - MessageOut outMsg(CMSG_CLIENT_DISCONNECT); } void GameHandler::processMapAccountId(Net::MessageIn &msg) diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index d031a9f13..2c641bace 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -157,13 +157,6 @@ ServerInfo *LoginHandler::getCharServer() const return &charServer; } -void LoginHandler::requestUpdateHosts() -{ - MessageOut outMsg(CMSG_SEND_CLIENT_INFO); - outMsg.writeInt8(CLIENT_PROTOCOL_VERSION); - outMsg.writeInt8(0, "unused"); -} - void LoginHandler::processUpdateHost2(Net::MessageIn &msg) const { const int len = msg.readInt16("len") - 4; diff --git a/src/net/eathena/loginhandler.h b/src/net/eathena/loginhandler.h index 04af33b9a..b30de728c 100644 --- a/src/net/eathena/loginhandler.h +++ b/src/net/eathena/loginhandler.h @@ -62,8 +62,6 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler ServerInfo *getCharServer() const override final A_WARN_UNUSED; - static void requestUpdateHosts(); - void processUpdateHost2(Net::MessageIn &msg) const; void processLoginError2(Net::MessageIn &msg) const; |