Skip to content

Commit

Permalink
Fix check for empty rconpassword in CL_Rcon_f
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Oct 4, 2015
1 parent 1902b6e commit 7e0dac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/client/cl_main.c
Expand Up @@ -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;
Expand Down

0 comments on commit 7e0dac7

Please sign in to comment.