Skip to content

Commit

Permalink
Fix critical vulnerability LMAO
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteHoodHacker authored Aug 30, 2024
1 parent 864523f commit f2a67ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cogs/roles/roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ async def add(self, ctx: SlashContext, role: str) -> None:
return
if (not any(user.has_role(role) for role in UIUC_ROLES)):
await ctx.send(":x: You need to be UIUC verified to use this command. Verify yourself at <https://sigpwny.com/auth>.")
return
for valid_role in self.roles:
valid_role_name = valid_role.get("name")
valid_role_id = valid_role.get("discord_role_id")
Expand Down

0 comments on commit f2a67ee

Please sign in to comment.