summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-13 23:01:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-13 23:02:53 +0300
commitcd7e273322d9648be6c005fd2930a6037149a357 (patch)
treeda429361f7c1ddc5e3c4500684a4b25dee36406b /src/net/eathena
parent3f87e3c0f191d72c3295955736a057430b3ab661 (diff)
downloadmv-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.cpp8
-rw-r--r--src/net/eathena/loginhandler.h2
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: