From e74bad91965068e4b91688a5c3df63bf6f2ca530 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 Nov 2012 00:16:26 +0300 Subject: Add support for email field in registration form. --- src/net/eathena/loginhandler.cpp | 3 ++- src/net/eathena/loginhandler.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/net/eathena') 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 -- cgit v1.2.3-70-g09d2