diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-20 18:33:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-20 18:33:47 +0300 |
commit | 66f1a82e7910404b812db255a99cb559d9ab3dcf (patch) | |
tree | 97958e8d65b3f8c9fde397331e3b8c09433fe31b /src/net/tmwa/loginhandler.cpp | |
parent | e078b82b6b7fc6c19499287a7ebaafa8ce6a8fe8 (diff) | |
download | mv-66f1a82e7910404b812db255a99cb559d9ab3dcf.tar.gz mv-66f1a82e7910404b812db255a99cb559d9ab3dcf.tar.bz2 mv-66f1a82e7910404b812db255a99cb559d9ab3dcf.tar.xz mv-66f1a82e7910404b812db255a99cb559d9ab3dcf.zip |
Remove some useless server feature checks from tmwa.
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r-- | src/net/tmwa/loginhandler.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp index f69151d9d..58a0be565 100644 --- a/src/net/tmwa/loginhandler.cpp +++ b/src/net/tmwa/loginhandler.cpp @@ -216,10 +216,7 @@ void LoginHandler::processServerVersion(Net::MessageIn &msg) int LoginHandler::supportedOptionalActions() const { - return serverFeatures->haveEmailOnRegister() - ? Net::RegistrationOptions::SetEmailOnRegister - | Net::RegistrationOptions::SetGenderOnRegister - : Net::RegistrationOptions::SetGenderOnRegister; + return Net::RegistrationOptions::SetGenderOnRegister; } void LoginHandler::sendVersion() const |