prevent /h/racist from getting destealthed

master
Aevann 2024-02-10 20:23:10 +02:00
parent bce946742d
commit f4f7737b64
1 changed files with 1 additions and 1 deletions

View File

@ -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)