Skip to content

Commit

Permalink
m (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmood-Miah authored Jul 14, 2024
1 parent b7160a4 commit c325e67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/user_privileges.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const (
UserPrivilegeTournamentStaff
AdminPrivilegeCaker
UserPrivilegePremium
AdminPrivilegeFreezeUsers
AdminPrivilegeManageNominators
)

// UserPrivileges represents a bitwise enum of the privileges of an user.
Expand Down Expand Up @@ -58,6 +60,8 @@ var userPrivilegeString = [...]string{
"UserTournamentStaff",
"AdminCaker",
"UserPremium",
"AdminFreezeUsers",
"AdminManageNominators",
}

func (p UserPrivileges) String() string {
Expand Down

0 comments on commit c325e67

Please sign in to comment.