Use three stars when censoring IP addresses

pull/14/head
Wruczek 8 years ago
parent 44eb73c379
commit f9a770836b

@ -110,7 +110,7 @@ function getBanlist() {
}
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";

Loading…
Cancel
Save