Skip to content

Commit afa3c9a

Browse files
committed
I'm dumb
1 parent 310f652 commit afa3c9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/checks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ async def check_permissions( # pylint: disable=R0911
8181
role.id in level_permissions[level.name] for role in author_roles
8282
)
8383
has_perm_id = ctx.author.id in level_permissions[level.name]
84-
return has_perm_role or has_perm_id
85-
84+
if has_perm_role or has_perm_id:
85+
return True
8686
return False
8787

8888

0 commit comments

Comments
 (0)