mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Set up DB by default
This commit is contained in:
parent
63b4beb86f
commit
3f7b18322c
|
@ -2504,7 +2504,7 @@ void CServer::ConAddSqlServer(IConsole::IResult *pResult, void *pUserData)
|
|||
return;
|
||||
}
|
||||
|
||||
bool SetUpDb = pResult->NumArguments() == 8 ? pResult->GetInteger(7) : false;
|
||||
bool SetUpDb = pResult->NumArguments() == 8 ? pResult->GetInteger(7) : true;
|
||||
|
||||
CSqlServer** apSqlServers = ReadOnly ? pSelf->m_apSqlReadServers : pSelf->m_apSqlWriteServers;
|
||||
|
||||
|
|
Loading…
Reference in a new issue