summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/loginhandler.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-04 00:36:46 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-04 00:36:46 +0200
commiteb22b66b0821e49ed550d30d20d9db5af535e6a3 (patch)
treea54ee9996bf235741f95945fd81be99a6e686eca /src/net/tmwserv/loginhandler.h
parent076bcc1f8361c705d7dbe9088b18cca7d7fe21de (diff)
downloadmana-eb22b66b0821e49ed550d30d20d9db5af535e6a3.tar.gz
mana-eb22b66b0821e49ed550d30d20d9db5af535e6a3.tar.bz2
mana-eb22b66b0821e49ed550d30d20d9db5af535e6a3.tar.xz
mana-eb22b66b0821e49ed550d30d20d9db5af535e6a3.zip
Replaced setNetworkOptions with LoginHandler::supportedOptionalActions
Better to ask when needed that rely on static booleans to be set from somewhere. Also tried to fix the layouting a bit, but it's still not perfect.
Diffstat (limited to 'src/net/tmwserv/loginhandler.h')
-rw-r--r--src/net/tmwserv/loginhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwserv/loginhandler.h b/src/net/tmwserv/loginhandler.h
index 50b3d8c7..754fa71b 100644
--- a/src/net/tmwserv/loginhandler.h
+++ b/src/net/tmwserv/loginhandler.h
@@ -44,6 +44,9 @@ class LoginHandler : public MessageHandler, public Net::LoginHandler
void disconnect();
+ int supportedOptionalActions() const
+ { return Unregister | ChangeEmail; }
+
void loginAccount(LoginData *loginData);
void changeEmail(const std::string &email);