make /h/braincels jannies unable to exile ppl

remotes/1693045480750635534/spooky-22
Aevann1 2022-06-26 23:34:09 +02:00
parent 58867084af
commit 52e0f21c75
1 changed files with 4 additions and 0 deletions

View File

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