summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
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/loginhandler.cpp
parent13c2533f4a2d27f1c9156df2a8ad2851be2016fd (diff)
downloadplus-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.gz
plus-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.bz2
plus-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.xz
plus-e74bad91965068e4b91688a5c3df63bf6f2ca530.zip
Add support for email field in registration form.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r--src/net/eathena/loginhandler.cpp3
1 files changed, 2 insertions, 1 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