From aabac3dcfce42ee1bf04cd4f428f7e52e9aa26b1 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 31 Jul 2011 02:25:55 +0200 Subject: [PATCH] send notification to enter a password when a client connects to econ. Closes #803 --- src/engine/shared/econ.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/shared/econ.cpp b/src/engine/shared/econ.cpp index 0bc3a9889..18a551e78 100644 --- a/src/engine/shared/econ.cpp +++ b/src/engine/shared/econ.cpp @@ -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; }