From d462b2a2ef153c90aa12b4ab28ec56866773f0dd Mon Sep 17 00:00:00 2001 From: divverent Date: Fri, 16 Mar 2012 05:49:43 +0000 Subject: [PATCH] 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 --- netconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2