X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FBlock.php;h=e20b5fdb41b531c268e3af4a90af2c0d4c4641ce;hb=d63121016d894e3fccf3308a26704472e69ec08f;hp=1d1e2c06bbae0c1b0aa48e875cfce4cc13c8b9b9;hpb=fd03fa28251c84b00c9d623d8b3461add7887904;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Block.php b/includes/Block.php index 1d1e2c06bb..e20b5fdb41 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -307,7 +307,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 ); + $score = self::TYPE_RANGE - 1 + ( $size / 128 ); } else { $score = $block->getType();