about summary refs log tree commit diff
path: root/src/engine/shared
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-07-31 02:25:55 +0200
committeroy <Tom_Adams@web.de>2011-07-31 02:25:55 +0200
commitaabac3dcfce42ee1bf04cd4f428f7e52e9aa26b1 (patch)
tree9c441f13351d8ba6d9592858e89c97010409be4c /src/engine/shared
parent9349af008572efe573ec435cf70d02c2f5db9821 (diff)
downloadzcatch-aabac3dcfce42ee1bf04cd4f428f7e52e9aa26b1.tar.gz
zcatch-aabac3dcfce42ee1bf04cd4f428f7e52e9aa26b1.zip
send notification to enter a password when a client connects to econ. Closes #803
Diffstat (limited to 'src/engine/shared')
-rw-r--r--src/engine/shared/econ.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/shared/econ.cpp b/src/engine/shared/econ.cpp
index 0bc3a988..18a551e7 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;
 }