From 942b5102bbf18f50e57897ed561a0efb74298289 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 23 Dec 2022 00:43:03 +0200 Subject: [PATCH] remove forgotten if True --- files/routes/votes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index fbb0b8c09..89e1b7e98 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -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):