From: divverent Date: Sun, 18 Oct 2009 19:53:53 +0000 (+0000) Subject: more rcon_secure cleanup X-Git-Tag: xonotic-v0.1.0preview~1284 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=70742f28b4b5a71c3a28a1610aaba80d2b289e84;p=xonotic%2Fdarkplaces.git more rcon_secure cleanup git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9351 d7cf8633-e32d-0410-b094-e92efae38249 --- 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++)