Skip to content

Commit

Permalink
permission system testing
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiao921 committed Sep 27, 2020
1 parent 897ee71 commit 2597548
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CHEF/Components/Commands/PermissionSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,8 @@ private void DefineRolesPositionsToPermLevels(SocketGuild guild)
if (role.Name.Equals(DefinedRoles.ModDeveloper))
{
rolesPositionReference[1] = role;
continue;
}

if (role.Name.Equals(DefinedRoles.CoreDeveloper))
else if (role.Name.Equals(DefinedRoles.CoreDeveloper))
{
rolesPositionReference[2] = role;
}
Expand Down

0 comments on commit 2597548

Please sign in to comment.