forked from MarseyWorld/MarseyWorld
prevent /h/racist from getting destealthed
parent
bce946742d
commit
f4f7737b64
|
@ -811,7 +811,7 @@ def hole_unpin(v, pid):
|
|||
@auth_required
|
||||
def hole_stealth(v, hole):
|
||||
hole = get_hole(hole)
|
||||
if hole.name in {'braincels','smuggies','mnn','glory'} and v.admin_level < PERMS["MODS_EVERY_HOLE"]:
|
||||
if hole.name in {'braincels','smuggies','mnn','glory','racist'} and v.admin_level < PERMS["MODS_EVERY_HOLE"]:
|
||||
abort(403)
|
||||
if not v.mods_hole(hole.name): abort(403)
|
||||
|
||||
|
|
Loading…
Reference in New Issue