X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FBlock.php;h=fb294f1fb0e9b0bc21b10b903edbd4e5cfcdb2ea;hb=a6722cc9aa2e30467ed9217d8a5388ce1cfcd9a9;hp=25b02ff8898cda7705ac82f78db62bc84f832bde;hpb=9574e810065c0c2f75d039d9e9cb513814d4884b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Block.php b/includes/Block.php index 25b02ff889..fb294f1fb0 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -21,7 +21,7 @@ */ class Block { /* public*/ var $mReason, $mTimestamp, $mAuto, $mExpiry, $mHideName, $mAngryAutoblock; - + protected $mId, $mFromMaster, @@ -262,7 +262,7 @@ class Block { # This has the nice property that a /32 block is ranked equally with a # single-IP block, which is exactly what it is... $score = self::TYPE_RANGE - 1 + ( $size / 128 ); - + } else { $score = $block->getType(); }