diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2008-04-25 23:47:50 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2008-04-25 23:47:50 +0000 |
commit | 34f13f39c61fbfc0a41e5b5d49f9d9619e3f75a3 (patch) | |
tree | 6cc3726f1bf85edc69629042b322a8b4e4b6af86 /src/net/accountserver | |
parent | 536f18bdaae32831aa92702535586f26d0628a42 (diff) | |
download | mana-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/net/accountserver')
-rw-r--r-- | src/net/accountserver/account.cpp | 3 | ||||
-rw-r--r-- | src/net/accountserver/account.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/net/accountserver/account.cpp b/src/net/accountserver/account.cpp index 2d8065b5..d1fe6863 100644 --- a/src/net/accountserver/account.cpp +++ b/src/net/accountserver/account.cpp @@ -83,8 +83,7 @@ void Net::AccountServer::Account::unregister(const std::string &username, Net::AccountServer::connection->send(msg); } -void Net::AccountServer::Account::changeEmail(const std::string &username, - const std::string &email) +void Net::AccountServer::Account::changeEmail(const std::string &email) { MessageOut msg(PAMSG_EMAIL_CHANGE); diff --git a/src/net/accountserver/account.h b/src/net/accountserver/account.h index c8604717..0cf0758e 100644 --- a/src/net/accountserver/account.h +++ b/src/net/accountserver/account.h @@ -44,8 +44,7 @@ namespace Net void unregister(const std::string &username, const std::string &password); - void changeEmail(const std::string &username, - const std::string &email); + void changeEmail(const std::string &email); void changePassword(const std::string &username, const std::string &oldPassword, |