summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;