Add UserTournamentStaff privilege

This commit is contained in:
Howl 2016-10-06 16:57:01 +02:00
parent e5504d2e29
commit dccec469af

View File

@ -25,6 +25,7 @@ const (
AdminPrivilegeChatMod AdminPrivilegeChatMod
AdminPrivilegeKickUsers AdminPrivilegeKickUsers
UserPrivilegePendingVerification UserPrivilegePendingVerification
UserPrivilegeTournamentStaff
) )
// UserPrivileges represents a bitwise enum of the privileges of an user. // UserPrivileges represents a bitwise enum of the privileges of an user.
@ -52,6 +53,7 @@ var userPrivilegeString = [...]string{
"AdminChatMod", "AdminChatMod",
"AdminKickUsers", "AdminKickUsers",
"UserPendingVerification", "UserPendingVerification",
"UserTournamentStaff",
} }
func (p UserPrivileges) String() string { func (p UserPrivileges) String() string {