From f4f7737b64229edb599dcb0a97318f7fa95f7088 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 10 Feb 2024 20:23:10 +0200 Subject: [PATCH] prevent /h/racist from getting destealthed --- files/routes/holes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/holes.py b/files/routes/holes.py index 708c37117..4c3dd7f89 100644 --- a/files/routes/holes.py +++ b/files/routes/holes.py @@ -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)