From: bsitu Date: Fri, 23 Mar 2012 23:57:05 +0000 (-0700) Subject: fix and comparison in pingLimiter X-Git-Tag: 1.31.0-rc.0~24139 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=28283a0de3be5194eb6eaf75db356d30c8238dd3;p=lhc%2Fweb%2Fwiklou.git fix and comparison in pingLimiter Change-Id: Ib8aa8ecf169acdf69c55f8c1dbce0d709fb9e852 --- diff --git a/includes/User.php b/includes/User.php index 90bef9141f..566dcc7407 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1517,7 +1517,7 @@ class User { $count = $wgMemc->get( $key ); // Already pinged? if( $count ) { - if( $count > $max ) { + if( $count >= $max ) { wfDebug( __METHOD__ . ": tripped! $key at $count $summary\n" ); if( $wgRateLimitLog ) { wfSuppressWarnings();