diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-04-09 16:51:26 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-04-09 20:21:21 -0600 |
commit | 9d94337026bbe6236bc4a39143c839a3bb386326 (patch) | |
tree | dac05e0eb05abd5476f735f55cb94921b96280da /src/net/manaserv | |
parent | c8b0e10348ea28da418985c997b324cfce865064 (diff) | |
download | mana-9d94337026bbe6236bc4a39143c839a3bb386326.tar.gz mana-9d94337026bbe6236bc4a39143c839a3bb386326.tar.bz2 mana-9d94337026bbe6236bc4a39143c839a3bb386326.tar.xz mana-9d94337026bbe6236bc4a39143c839a3bb386326.zip |
Add support for registration disabled for eAthena
Reviewed-by: Chuck Miller`
Diffstat (limited to 'src/net/manaserv')
-rw-r--r-- | src/net/manaserv/loginhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/manaserv/loginhandler.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/manaserv/loginhandler.cpp b/src/net/manaserv/loginhandler.cpp index b3c70226..e51aef6f 100644 --- a/src/net/manaserv/loginhandler.cpp +++ b/src/net/manaserv/loginhandler.cpp @@ -354,6 +354,11 @@ void LoginHandler::disconnect() } } +bool LoginHandler::isRegistrationEnabled() +{ + return true; +} + void LoginHandler::getRegistrationDetails() { MessageOut msg(PAMSG_REQUEST_REGISTER_INFO); diff --git a/src/net/manaserv/loginhandler.h b/src/net/manaserv/loginhandler.h index 6416ff29..d2ffbc3d 100644 --- a/src/net/manaserv/loginhandler.h +++ b/src/net/manaserv/loginhandler.h @@ -47,6 +47,8 @@ class LoginHandler : public MessageHandler, public Net::LoginHandler int supportedOptionalActions() const { return Unregister | ChangeEmail | SetEmailOnRegister; } + bool isRegistrationEnabled(); + void getRegistrationDetails(); unsigned int getMinUserNameLength() const; |