From c37335b115f69f8ab54403742640faff384d2747 Mon Sep 17 00:00:00 2001 From: SushiTee Date: Wed, 2 Jun 2010 21:33:19 +0200 Subject: [PATCH] shortened IsAuthed a bit --- src/engine/server/server.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/engine/server/server.cpp b/src/engine/server/server.cpp index b5a01a99a..7380235dd 100644 --- a/src/engine/server/server.cpp +++ b/src/engine/server/server.cpp @@ -295,9 +295,7 @@ int CServer::Init() bool CServer::IsAuthed(int ClientID) { - if(m_aClients[ClientID].m_Authed) - return true; - return false; + return m_aClients[ClientID].m_Authed; } int CServer::GetClientInfo(int ClientID, CClientInfo *pInfo)