diff --git a/files/routes/subs.py b/files/routes/subs.py index d5693cdd69..f651f7ef54 100644 --- a/files/routes/subs.py +++ b/files/routes/subs.py @@ -17,6 +17,8 @@ def exile_post(v, pid): sub = p.sub if not sub: abort(400) + if sub == 'braincels': abort(403) + if not v.mods(sub): abort(403) u = p.author @@ -44,6 +46,8 @@ def exile_comment(v, cid): sub = c.post.sub if not sub: abort(400) + if sub == 'braincels': abort(403) + if not v.mods(sub): abort(403) u = c.author