summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-30 00:16:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-30 00:16:26 +0300
commite74bad91965068e4b91688a5c3df63bf6f2ca530 (patch)
treea1cf7b902ddb83ed9527e26bc6a0879e8bd130b7 /src/net/eathena
parent13c2533f4a2d27f1c9156df2a8ad2851be2016fd (diff)
downloadmanaverse-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.gz
manaverse-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.bz2
manaverse-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.xz
manaverse-e74bad91965068e4b91688a5c3df63bf6f2ca530.zip
Add support for email field in registration form.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/loginhandler.cpp3
-rw-r--r--src/net/eathena/loginhandler.h3
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