Merge pull request #1354 from Cockatrice/fix-1351

Fix #1351 - Server ignores only-reg if in "none" auth mode.
This commit is contained in:
Zach 2015-08-21 22:15:32 -04:00
commit a6a62b3334
4 changed files with 12 additions and 2 deletions

View file

@ -136,6 +136,7 @@ public:
bool initServer();
QString getServerName() const { return serverName; }
QString getLoginMessage() const { QMutexLocker locker(&loginMessageMutex); return loginMessage; }
bool permitUnregisteredUsers() const { return authenticationMethod != AuthenticationNone; }
bool getGameShouldPing() const { return true; }
bool getClientIdRequired() const { return clientIdRequired; }
bool getRegOnlyServer() const { return regServerOnly; }