diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-13 23:01:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-13 23:02:53 +0300 |
commit | cd7e273322d9648be6c005fd2930a6037149a357 (patch) | |
tree | da429361f7c1ddc5e3c4500684a4b25dee36406b /src/net/eathena | |
parent | 3f87e3c0f191d72c3295955736a057430b3ab661 (diff) | |
download | mv-cd7e273322d9648be6c005fd2930a6037149a357.tar.gz mv-cd7e273322d9648be6c005fd2930a6037149a357.tar.bz2 mv-cd7e273322d9648be6c005fd2930a6037149a357.tar.xz mv-cd7e273322d9648be6c005fd2930a6037149a357.zip |
Remove manaserv related RegistrationOptions.
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: |