forked from leftypol/leftypol
Display split ban mask and appeal IP
This commit is contained in:
parent
0b7161a588
commit
a8ff605571
2 changed files with 7 additions and 3 deletions
|
@ -858,7 +858,7 @@ function mod_page_ip($ip) {
|
|||
if (filter_var($ip, FILTER_VALIDATE_IP) === false)
|
||||
error("Invalid IP address.");
|
||||
|
||||
if (isset($_POST['ban_id'], $_POST['unban'])) {
|
||||
if (isset($_POST['ban_id'], $_POST['unban_mask'])) {
|
||||
if (!hasPermission($config['mod']['unban']))
|
||||
error($config['error']['noaccess']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue