mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
shortened IsAuthed a bit
This commit is contained in:
parent
dd19074deb
commit
c37335b115
|
@ -295,9 +295,7 @@ int CServer::Init()
|
||||||
|
|
||||||
bool CServer::IsAuthed(int ClientID)
|
bool CServer::IsAuthed(int ClientID)
|
||||||
{
|
{
|
||||||
if(m_aClients[ClientID].m_Authed)
|
return m_aClients[ClientID].m_Authed;
|
||||||
return true;
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int CServer::GetClientInfo(int ClientID, CClientInfo *pInfo)
|
int CServer::GetClientInfo(int ClientID, CClientInfo *pInfo)
|
||||||
|
|
Loading…
Reference in a new issue