diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-12-04 14:50:36 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-12-04 14:51:07 -0700 |
commit | dfbb70d4884c4e48664f1df7bf73819a00a707b7 (patch) | |
tree | 1a99f36a191d2a9202248eb65a9f243d83318b7b /src/net/manaserv | |
parent | 625d8282af5a4da4b6d5c9a31e542680acd5e7b3 (diff) | |
download | mana-client-dfbb70d4884c4e48664f1df7bf73819a00a707b7.tar.gz mana-client-dfbb70d4884c4e48664f1df7bf73819a00a707b7.tar.bz2 mana-client-dfbb70d4884c4e48664f1df7bf73819a00a707b7.tar.xz mana-client-dfbb70d4884c4e48664f1df7bf73819a00a707b7.zip |
Remove password length info for manaserv
Also fix defaults.
Diffstat (limited to 'src/net/manaserv')
-rw-r--r-- | src/net/manaserv/loginhandler.cpp | 14 | ||||
-rw-r--r-- | src/net/manaserv/loginhandler.h | 6 |
2 files changed, 2 insertions, 18 deletions
diff --git a/src/net/manaserv/loginhandler.cpp b/src/net/manaserv/loginhandler.cpp index 9abef806..1cb9baff 100644 --- a/src/net/manaserv/loginhandler.cpp +++ b/src/net/manaserv/loginhandler.cpp @@ -216,8 +216,8 @@ void LoginHandler::handleMessage(Net::MessageIn &msg) { mMinUserNameLength = msg.readInt8(); mMaxUserNameLength = msg.readInt8(); - mMinPasswordLength = msg.readInt8(); - mMaxPasswordLength = msg.readInt8(); + msg.readInt8(); + msg.readInt8(); std::string captchaURL = msg.readString(); std::string captchaInstructions = msg.readString(); @@ -357,16 +357,6 @@ unsigned int LoginHandler::getMaxUserNameLength() const return mMaxUserNameLength; } -unsigned int LoginHandler::getMinPasswordLength() const -{ - return mMinPasswordLength; -} - -unsigned int LoginHandler::getMaxPasswordLength() const -{ - return mMaxPasswordLength; -} - void LoginHandler::loginAccount(LoginData *loginData) { mLoginData = loginData; diff --git a/src/net/manaserv/loginhandler.h b/src/net/manaserv/loginhandler.h index 75e2daf3..22869282 100644 --- a/src/net/manaserv/loginhandler.h +++ b/src/net/manaserv/loginhandler.h @@ -53,10 +53,6 @@ class LoginHandler : public MessageHandler, public Net::LoginHandler unsigned int getMaxUserNameLength() const; - unsigned int getMinPasswordLength() const; - - unsigned int getMaxPasswordLength() const; - void loginAccount(LoginData *loginData); void logout(); @@ -87,8 +83,6 @@ class LoginHandler : public MessageHandler, public Net::LoginHandler LoginData *mLoginData; unsigned int mMinUserNameLength; unsigned int mMaxUserNameLength; - unsigned int mMinPasswordLength; - unsigned int mMaxPasswordLength; }; } // namespace ManaServ |