mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
send notification to enter a password when a client connects to econ. Closes #803
This commit is contained in:
parent
9349af0085
commit
aabac3dcfc
|
@ -16,6 +16,8 @@ int CEcon::NewClientCallback(int ClientID, void *pUser)
|
|||
|
||||
pThis->m_aClients[ClientID].m_State = CClient::STATE_CONNECTED;
|
||||
pThis->m_aClients[ClientID].m_TimeConnected = time_get();
|
||||
|
||||
pThis->m_NetConsole.Send(ClientID, "Enter password:");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue