vcxcxv
This commit is contained in:
parent
1095c4f233
commit
dc85175931
3 changed files with 11 additions and 10 deletions
|
@ -39,6 +39,7 @@ def admin_vote_info_get(v):
|
|||
).order_by(Vote.id).all()
|
||||
|
||||
elif isinstance(thing, Comment):
|
||||
if thing.author_name == '👻': abort(403)
|
||||
|
||||
if thing.author.shadowbanned and not (v and v.admin_level):
|
||||
thing_id = g.db.query(Comment.id).filter_by(upvotes=thing.upvotes, downvotes=thing.downvotes).order_by(Comment.id).first()[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue