about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorChoupom <andycootlapin@hotmail.fr>2011-07-20 10:32:37 +0200
committeroy <Tom_Adams@web.de>2011-07-20 21:49:38 +0200
commit6b2dc40570492baf8492d54d513da969c82f4a78 (patch)
tree97c98365552c10f8a199635d789db035a65ef7d9 /src
parent05203637028514eb18081d116c9d65a923288236 (diff)
downloadzcatch-6b2dc40570492baf8492d54d513da969c82f4a78.tar.gz
zcatch-6b2dc40570492baf8492d54d513da969c82f4a78.zip
fixed a rcon authentication issue
Diffstat (limited to 'src')
-rw-r--r--src/engine/server/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/server/server.cpp b/src/engine/server/server.cpp
index 17df19ed..2b174610 100644
--- a/src/engine/server/server.cpp
+++ b/src/engine/server/server.cpp
@@ -869,7 +869,7 @@ void CServer::ProcessClientPacket(CNetChunk *pPacket)
 
 			if(Unpacker.Error() == 0)
 			{
-				if(g_Config.m_SvRconPassword[0] == 0 && g_Config.m_SvRconModPassword[0])
+				if(g_Config.m_SvRconPassword[0] == 0 && g_Config.m_SvRconModPassword[0] == 0)
 				{
 					SendRconLine(ClientID, "No rcon password set on server. Set sv_rcon_password and/or sv_rcon_mod_password to enable the remote console.");
 				}