summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2008-04-25 23:47:50 +0000
committerYohann Ferreira <bertram@cegetel.net>2008-04-25 23:47:50 +0000
commit34f13f39c61fbfc0a41e5b5d49f9d9619e3f75a3 (patch)
tree6cc3726f1bf85edc69629042b322a8b4e4b6af86 /src/main.cpp
parent536f18bdaae32831aa92702535586f26d0628a42 (diff)
downloadmana-34f13f39c61fbfc0a41e5b5d49f9d9619e3f75a3.tar.gz
mana-34f13f39c61fbfc0a41e5b5d49f9d9619e3f75a3.tar.bz2
mana-34f13f39c61fbfc0a41e5b5d49f9d9619e3f75a3.tar.xz
mana-34f13f39c61fbfc0a41e5b5d49f9d9619e3f75a3.zip
Made the Email address change work more nicely with the server.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
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)