mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix check for empty rconpassword in CL_Rcon_f
This commit is contained in:
parent
1902b6e659
commit
7e0dac7517
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue