From: divverent Date: Fri, 16 Mar 2012 05:49:43 +0000 (+0000) Subject: fix a typo in challenge flood protection X-Git-Tag: xonotic-v0.7.0~198 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d462b2a2ef153c90aa12b4ab28ec56866773f0dd;p=xonotic%2Fdarkplaces.git fix a typo in challenge flood protection git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11760 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=824342340b29f23f9147e6675d931f0057daefbd --- diff --git a/netconn.c b/netconn.c index eaf5dbd6..395f6d33 100755 --- a/netconn.c +++ b/netconn.c @@ -2843,7 +2843,7 @@ static int NetConn_ServerParsePacket(lhnetsocket_t *mysocket, unsigned char *dat else { // flood control: drop if requesting challenge too often - if(challenge[i].time < realtime - net_challengefloodblockingtimeout.value) + if(challenge[i].time > realtime - net_challengefloodblockingtimeout.value) return true; } challenge[i].time = realtime;