.x.x less confusing...will change to less_ip eventually

This commit is contained in:
8chan 2014-10-09 16:59:58 -07:00 committed by czaks
parent 5d1b426fa3
commit 803c76a800

View File

@ -185,7 +185,7 @@ class Bans {
$ban['mask'] = preg_split("/[\.:]/", $ban['mask']);
$ban['mask'] = array_slice($ban['mask'], 0, 2);
$ban['mask'] = implode(".", $ban['mask']);
$ban['mask'] .= ".*";
$ban['mask'] .= ".x.x";
if (isset ($subnet)) {
$ban['mask'] .= "/$subnet";
}