.x.x less confusing...will change to less_ip eventually
This commit is contained in:
parent
5d1b426fa3
commit
803c76a800
@ -185,7 +185,7 @@ class Bans {
|
|||||||
$ban['mask'] = preg_split("/[\.:]/", $ban['mask']);
|
$ban['mask'] = preg_split("/[\.:]/", $ban['mask']);
|
||||||
$ban['mask'] = array_slice($ban['mask'], 0, 2);
|
$ban['mask'] = array_slice($ban['mask'], 0, 2);
|
||||||
$ban['mask'] = implode(".", $ban['mask']);
|
$ban['mask'] = implode(".", $ban['mask']);
|
||||||
$ban['mask'] .= ".*";
|
$ban['mask'] .= ".x.x";
|
||||||
if (isset ($subnet)) {
|
if (isset ($subnet)) {
|
||||||
$ban['mask'] .= "/$subnet";
|
$ban['mask'] .= "/$subnet";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user