mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Fix servatrice's regonly mode
This commit is contained in:
parent
faa66e4d7f
commit
15555c16fd
5 changed files with 12 additions and 5 deletions
|
|
@ -136,7 +136,7 @@ bool Servatrice::initServer()
|
|||
{
|
||||
serverName = settingsCache->value("server/name", "My Cockatrice server").toString();
|
||||
serverId = settingsCache->value("server/id", 0).toInt();
|
||||
bool regServerOnly = settingsCache->value("server/regonly", 0).toBool();
|
||||
bool regServerOnly = settingsCache->value("authentication/regonly", 0).toBool();
|
||||
|
||||
const QString authenticationMethodStr = settingsCache->value("authentication/method").toString();
|
||||
if (authenticationMethodStr == "sql") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue