diff --git a/files/routes/holes.py b/files/routes/holes.py index b5d5f5985..750689583 100644 --- a/files/routes/holes.py +++ b/files/routes/holes.py @@ -21,6 +21,9 @@ def exile_post(v, pid): if not v.mods_hole(hole): abort(403) + if hole in {'atheism', 'dioceseofrdrama', 'truth'}: + abort(403, f"/h/{hole} has the exiling feature disabled due to being unblockable.") + u = p.author if u.mods_hole(hole): abort(403) @@ -55,6 +58,9 @@ def exile_comment(v, cid): if not v.mods_hole(hole): abort(403) + if hole in {'atheism', 'dioceseofrdrama', 'truth'}: + abort(403, f"/h/{hole} has the exiling feature disabled due to being unblockable.") + u = c.author if u.mods_hole(hole): abort(403)