diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3d1a0e27..59c7f74f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -582,8 +582,7 @@ void accountChangeEmail(LoginData *loginData) { Net::registerHandler(&loginHandler); - Net::AccountServer::Account::changeEmail(loginData->username, - loginData->newEmail); + Net::AccountServer::Account::changeEmail(loginData->newEmail); } void switchCharacter(std::string* passToken) |