summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/loginhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwserv/loginhandler.cpp')
-rw-r--r--src/net/tmwserv/loginhandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/tmwserv/loginhandler.cpp b/src/net/tmwserv/loginhandler.cpp
index 613b4128..7c4b1340 100644
--- a/src/net/tmwserv/loginhandler.cpp
+++ b/src/net/tmwserv/loginhandler.cpp
@@ -39,7 +39,6 @@ Net::LoginHandler *loginHandler;
extern Net::Connection *accountServerConnection;
namespace TmwServ {
-extern std::string userEmail;
LoginHandler::LoginHandler()
{
@@ -343,7 +342,7 @@ void LoginHandler::registerAccount(LoginData *loginData)
0, // client version
loginData->username,
loginData->password,
- userEmail);
+ loginData->email);
}
void LoginHandler::unregisterAccount(const std::string &username,