diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-30 00:16:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-30 00:16:26 +0300 |
commit | e74bad91965068e4b91688a5c3df63bf6f2ca530 (patch) | |
tree | a1cf7b902ddb83ed9527e26bc6a0879e8bd130b7 /src/net/eathena | |
parent | 13c2533f4a2d27f1c9156df2a8ad2851be2016fd (diff) | |
download | mv-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.gz mv-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.bz2 mv-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.xz mv-e74bad91965068e4b91688a5c3df63bf6f2ca530.zip |
Add support for email field in registration form.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 3 | ||||
-rw-r--r-- | src/net/eathena/loginhandler.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 21da4ba9f..a8d5398c1 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -129,7 +129,8 @@ void LoginHandler::changePassword(const std::string &username A_UNUSED, } void LoginHandler::sendLoginRegister(const std::string &username, - const std::string &password) + const std::string &password, + const std::string &email) { MessageOut outMsg(0x0064); outMsg.writeInt32(0); // client version diff --git a/src/net/eathena/loginhandler.h b/src/net/eathena/loginhandler.h index 2b683f044..b6787939c 100644 --- a/src/net/eathena/loginhandler.h +++ b/src/net/eathena/loginhandler.h @@ -73,7 +73,8 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler private: void sendLoginRegister(const std::string &username, - const std::string &password); + const std::string &password, + const std::string &email); }; } // namespace EAthena |