remove forgotten if True

pull/83/head
Aevann 2022-12-23 00:43:03 +02:00
parent 9eb285c5ca
commit 942b5102bb
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def vote_info_get(v, link):
if thing.ghost and v.id != AEVANN_ID:
abort(403)
if True or thing.author.shadowbanned and not (v and v.admin_level >= PERMS['USER_SHADOWBAN']):
if thing.author.shadowbanned and not (v and v.admin_level >= PERMS['USER_SHADOWBAN']):
abort(500)
if isinstance(thing, Submission):