]> ToastFreeware Gitweb - toast/cookiecaptcha.git/blobdiff - ConfirmEdit_body.php
Localisation updates for extension messages from Betawiki (2008-08-04 22:51 CEST)
[toast/cookiecaptcha.git] / ConfirmEdit_body.php
index 31635dac4323d4c7d2006320abb74bec78b5655f..cd68f5cb678da9655ca035db04ddbce4c61eaf00 100644 (file)
@@ -205,7 +205,7 @@ class SimpleCaptcha {
         */
        function isBadLoginTriggered() {
                global $wgMemc, $wgCaptchaBadLoginAttempts;
-               return intval( $wgMemc->get( $this->badLoginKey() ) ) > $wgCaptchaBadLoginAttempts;
+               return intval( $wgMemc->get( $this->badLoginKey() ) ) >= $wgCaptchaBadLoginAttempts;
        }
        
        /**