summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-20 18:33:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-20 18:33:47 +0300
commit66f1a82e7910404b812db255a99cb559d9ab3dcf (patch)
tree97958e8d65b3f8c9fde397331e3b8c09433fe31b /src/net/tmwa/loginhandler.cpp
parente078b82b6b7fc6c19499287a7ebaafa8ce6a8fe8 (diff)
downloadmv-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.cpp5
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