From e0c02eb691a4044ba330cc8c022e961004115197 Mon Sep 17 00:00:00 2001 From: Floff Floffsson Date: Mon, 17 Jan 2011 01:22:31 +0100 Subject: [PATCH] functioncall not needed, dunno why its there anyway --- 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 a0c8e7fc4..c87c4efc6 100644 --- a/src/engine/server/server.cpp +++ b/src/engine/server/server.cpp @@ -1761,7 +1761,7 @@ void CServer::SetRconLevel(int ClientId, int Level) CMsgPacker Msg(NETMSG_RCON_AUTH_STATUS); Msg.AddInt(0); SendMsgEx(&Msg, MSGFLAG_VITAL, ClientId, true); - m_aClients[ClientId].m_Authed = Level; + m_aClients[ClientId].m_Authed = 0; } else { @@ -1814,7 +1814,6 @@ void CServer::CheckPass(int ClientId, const char *pPw) { char buf[128]="Authentication successful. Remote console access granted for ClientId=%d with level=%d"; SetRconLevel(ClientId,level); - SetClientAuthed(ClientId, level); str_format(buf,sizeof(buf),buf,ClientId,level); SendRconLine(ClientId, buf); dbg_msg("server", "'%s' ClientId=%d authed with Level=%d", ClientName(ClientId), ClientId, level); @@ -1854,7 +1853,6 @@ void CServer::CheckPass(int ClientId, const char *pPw) { char buf[128]="Authentication successful. Remote console access granted for ClientId=%d with level=%d"; SetRconLevel(ClientId,0); - SetClientAuthed(ClientId, 0); str_format(buf,sizeof(buf),buf,ClientId,0); SendRconLine(ClientId, buf); dbg_msg("server", "'%s' ClientId=%d authed with Level=%d", ClientName(ClientId), ClientId, 0);