From f9a770836bf14ebf0c017b2d7fd116b185a4869a Mon Sep 17 00:00:00 2001 From: Wruczek Date: Fri, 18 Nov 2016 21:23:56 +0100 Subject: [PATCH] Use three stars when censoring IP addresses --- bans.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bans.php b/bans.php index 02cb00e..9b071c7 100644 --- a/bans.php +++ b/bans.php @@ -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";