Permalink
Browse files

Use three stars when censoring IP addresses

1 parent 44eb73c commit f9a770836bf14ebf0c017b2d7fd116b185a4869a @Wruczek committed Nov 18, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 bans.php
View
@@ -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";

0 comments on commit f9a7708

Please sign in to comment.