Use three stars when censoring IP addresses
This commit is contained in:
parent
44eb73c379
commit
f9a770836b
2
bans.php
2
bans.php
|
@ -110,7 +110,7 @@ function getBanlist() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function censorIP($ip) {
|
function censorIP($ip) {
|
||||||
return preg_replace("/(\d+\.\d+\.)\d+\.\d+/", "$1*.*", $ip);
|
return preg_replace("/(\d+\.\d+\.)\d+\.\d+/", "$1***.***", $ip);
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once __DIR__ . "/include/footer.php";
|
require_once __DIR__ . "/include/footer.php";
|
||||||
|
|
Loading…
Reference in New Issue