diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 8 | ||||
-rw-r--r-- | src/net/eathena/loginhandler.h | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 71bf67245..a50b0dc4a 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -130,14 +130,6 @@ void LoginHandler::sendVersion() const generalHandler->flushSend(); } -int LoginHandler::supportedOptionalActions() const -{ - return serverFeatures->haveEmailOnRegister() - ? Net::RegistrationOptions::SetEmailOnRegister - | Net::RegistrationOptions::SetGenderOnRegister - : Net::RegistrationOptions::SetGenderOnRegister; -} - void LoginHandler::ping() const { createOutPacket(CMSG_LOGIN_PING); diff --git a/src/net/eathena/loginhandler.h b/src/net/eathena/loginhandler.h index b400c8dd5..990622450 100644 --- a/src/net/eathena/loginhandler.h +++ b/src/net/eathena/loginhandler.h @@ -54,8 +54,6 @@ class LoginHandler final : public Ea::LoginHandler ServerInfo *getCharServer() const override final A_WARN_UNUSED; - int supportedOptionalActions() const override final A_WARN_UNUSED; - void ping() const override final; private: |