summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2015-10-04 21:11:24 +0100
committerTim Angus <tim@ngus.net>2016-04-07 11:12:55 +0100
commit53f0839ec8ecfd1b79a77bcd0949368fa4d4cf06 (patch)
tree4ed166f58227a03ecbc6c8adea9cd4c18f49cdaf /src/client
parentbbd6e0b9bb8d952198c43c24ee90fd5fe73aaeca (diff)
Fix check for empty rconpassword in CL_Rcon_f
Diffstat (limited to 'src/client')
-rw-r--r--src/client/cl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index 0199a520..fa47988e 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -1786,7 +1786,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;