From cd7e273322d9648be6c005fd2930a6037149a357 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Nov 2015 23:01:53 +0300 Subject: Remove manaserv related RegistrationOptions. --- src/net/eathena/loginhandler.cpp | 8 -------- src/net/eathena/loginhandler.h | 2 -- 2 files changed, 10 deletions(-) (limited to 'src/net/eathena') 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: -- cgit v1.2.3-70-g09d2