From 7e0dac7517d3528eecfcf057515abc5ecac33f10 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 4 Oct 2015 21:11:24 +0100 Subject: [PATCH] Fix check for empty rconpassword in CL_Rcon_f --- code/client/cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 43f741f7..7d9706fa 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -1820,7 +1820,7 @@ void CL_Rcon_f( void ) { char message[MAX_RCON_MESSAGE]; netadr_t to; - if ( !rcon_client_password->string ) { + if ( !rcon_client_password->string[0] ) { Com_Printf ("You must set 'rconpassword' before\n" "issuing an rcon command.\n"); return;