forked from GithubBackups/vichan
Ban appeals for admin/globals fix
This commit is contained in:
parent
6cca52e92d
commit
f9119b16b9
@ -1012,7 +1012,7 @@ function mod_ban_appeals() {
|
|||||||
error(_('Ban appeal not found!'));
|
error(_('Ban appeal not found!'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!in_array($ban['board'], $mod['boards']))
|
if (!in_array($ban['board'], $mod['boards']) && $mod['boards'][0] != '*')
|
||||||
error($config['error']['noaccess']);
|
error($config['error']['noaccess']);
|
||||||
|
|
||||||
$ban['mask'] = Bans::range_to_string(array($ban['ipstart'], $ban['ipend']));
|
$ban['mask'] = Bans::range_to_string(array($ban['ipstart'], $ban['ipend']));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user