From 0a117a4e40939222138e6ad742de948491d943cf Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 3 Nov 2023 20:39:38 +0200 Subject: [PATCH] force stealth mode on /h/glory --- 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 cda692829..44543b12a 100644 --- a/files/routes/holes.py +++ b/files/routes/holes.py @@ -752,7 +752,7 @@ def hole_unpin(v, pid): @auth_required def hole_stealth(v, hole): hole = get_hole(hole) - if hole.name in {'braincels','smuggies','mnn'} and v.admin_level < PERMS["MODS_EVERY_HOLE"]: + if hole.name in {'braincels','smuggies','mnn','glory'} and v.admin_level < PERMS["MODS_EVERY_HOLE"]: abort(403) if not v.mods(hole.name): abort(403)