diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-20 18:04:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-20 18:04:19 +0300 |
commit | d4b88a7ebce6222c34928c49925f972515593e89 (patch) | |
tree | ab3c8136bcc06ec84194738c83bef8af6df62752 /src/net/tmwa/loginhandler.cpp | |
parent | 6bf4a5aa68afb7d95632880c001286f2a721e1f5 (diff) | |
download | manaverse-d4b88a7ebce6222c34928c49925f972515593e89.tar.gz manaverse-d4b88a7ebce6222c34928c49925f972515593e89.tar.bz2 manaverse-d4b88a7ebce6222c34928c49925f972515593e89.tar.xz manaverse-d4b88a7ebce6222c34928c49925f972515593e89.zip |
Move registrationoptions into separate file.
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r-- | src/net/tmwa/loginhandler.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp index 3797a7a54..eccbf0928 100644 --- a/src/net/tmwa/loginhandler.cpp +++ b/src/net/tmwa/loginhandler.cpp @@ -25,6 +25,8 @@ #include "client.h" #include "logger.h" +#include "net/registrationoptions.h" + #include "net/tmwa/messageout.h" #include "net/tmwa/network.h" #include "net/tmwa/protocol.h" @@ -264,8 +266,10 @@ void LoginHandler::processUpdateHost2(Net::MessageIn &msg) const int LoginHandler::supportedOptionalActions() const { - return serverVersion >= 7 ? SetEmailOnRegister | SetGenderOnRegister - : SetGenderOnRegister; + return serverVersion >= 7 + ? Net::RegistrationOptions::SetEmailOnRegister + | Net::RegistrationOptions::SetGenderOnRegister + : Net::RegistrationOptions::SetGenderOnRegister; } } // namespace TmwAthena |