summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-02 22:20:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:56 +0300
commitc2402dcae7a8b30c1db02a9bcc92839cfe30bd0c (patch)
treeefaa4dee3ba0b2af0443599d755436238cf24178 /src/net/eathena
parentd15ad0884f0c551cb8af721537b21c536a11c79d (diff)
downloadmanaplus-c2402dcae7a8b30c1db02a9bcc92839cfe30bd0c.tar.gz
manaplus-c2402dcae7a8b30c1db02a9bcc92839cfe30bd0c.tar.bz2
manaplus-c2402dcae7a8b30c1db02a9bcc92839cfe30bd0c.tar.xz
manaplus-c2402dcae7a8b30c1db02a9bcc92839cfe30bd0c.zip
eathena: remove some unused packets.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/gamehandler.cpp1
-rw-r--r--src/net/eathena/loginhandler.cpp7
-rw-r--r--src/net/eathena/loginhandler.h2
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;