This commit is contained in:
Aevann1 2021-11-16 23:21:53 +02:00
parent 155a3744ac
commit 3975e10dc7
9 changed files with 63 additions and 29 deletions

View file

@ -22,6 +22,8 @@ def admin_vote_info_get(v):
else: abort(400)
except: abort(400)
if thing.author.shadowbanned and not (v and v.admin_level): return render_template('errors/500.html', v=v), 500
if isinstance(thing, Submission):
ups = g.db.query(Vote