Skip to content

Commit f2a67ee

Browse files
Fix critical vulnerability LMAO
1 parent 864523f commit f2a67ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cogs/roles/roles.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ async def add(self, ctx: SlashContext, role: str) -> None:
2323
return
2424
if (not any(user.has_role(role) for role in UIUC_ROLES)):
2525
await ctx.send(":x: You need to be UIUC verified to use this command. Verify yourself at <https://sigpwny.com/auth>.")
26+
return
2627
for valid_role in self.roles:
2728
valid_role_name = valid_role.get("name")
2829
valid_role_id = valid_role.get("discord_role_id")

0 commit comments

Comments
 (0)