diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2009-10-04 22:28:19 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2009-10-04 22:31:43 +0200 |
commit | 924e0a887f87ce531bc5bd26cb55e410b7303383 (patch) | |
tree | a592304792e8ae877dabaa2062d6bdff1d406f02 /src/net/tmwserv/loginhandler.h | |
parent | cff9f1947bac8fa49aaf6f846a6e4335a439ac2e (diff) | |
download | mana-client-924e0a887f87ce531bc5bd26cb55e410b7303383.tar.gz mana-client-924e0a887f87ce531bc5bd26cb55e410b7303383.tar.bz2 mana-client-924e0a887f87ce531bc5bd26cb55e410b7303383.tar.xz mana-client-924e0a887f87ce531bc5bd26cb55e410b7303383.zip |
Introduced Net::LoginHandler::SetEmailOnRegister
This "optional action" specifies whether the server expects to get an
email address during registration. It is used now instead of having the
general handlers of eAthena and tmwserv set a pointer to an email
string on the GUI dialogs (to keep things understandable, the dependency
should preferably go one way).
Diffstat (limited to 'src/net/tmwserv/loginhandler.h')
-rw-r--r-- | src/net/tmwserv/loginhandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwserv/loginhandler.h b/src/net/tmwserv/loginhandler.h index 66f243b7..cbc2b96c 100644 --- a/src/net/tmwserv/loginhandler.h +++ b/src/net/tmwserv/loginhandler.h @@ -45,7 +45,7 @@ class LoginHandler : public MessageHandler, public Net::LoginHandler void disconnect(); int supportedOptionalActions() const - { return Unregister | ChangeEmail; } + { return Unregister | ChangeEmail | SetEmailOnRegister; } void loginAccount(LoginData *loginData); |