From 70742f28b4b5a71c3a28a1610aaba80d2b289e84 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 18 Oct 2009 19:53:53 +0000 Subject: [PATCH] more rcon_secure cleanup git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9351 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netconn.c b/netconn.c index 44c15d6f..efa23d1b 100755 --- a/netconn.c +++ b/netconn.c @@ -2722,7 +2722,7 @@ static int NetConn_ServerParsePacket(lhnetsocket_t *mysocket, unsigned char *dat char *endpos = string + length + 1; // one behind the NUL, so adding strlen+1 will eventually reach it char password[64]; - if(rcon_secure.integer) + if(rcon_secure.integer > 0) return true; for (i = 0;!ISWHITESPACE(*s);s++) -- 2.39.2