Registered Only Server

Allow for registration only server.
This commit is contained in:
woogerboy21 2014-06-30 16:26:57 -04:00
parent 69a8fa0bb1
commit 3c216ac9cd
5 changed files with 14 additions and 2 deletions

View file

@ -345,6 +345,7 @@ Response::ResponseCode Server_ProtocolHandler::cmdLogin(const Command_Login &cmd
case NotLoggedIn: return Response::RespWrongPassword;
case WouldOverwriteOldSession: return Response::RespWouldOverwriteOldSession;
case UsernameInvalid: return Response::RespUsernameInvalid;
case RegistrationRequired: return Response::RespRegRequired;
default: authState = res;
}