Fix check for empty rconpassword in CL_Rcon_f

This commit is contained in:
Tim Angus committed 2015-10-04 21:11:35 +01:00
1 parent 1902b6e659
commit 7e0dac7517
1 file changed
+1 -1
+1 -1
View File
@@ -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;