Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
0939ec972c
|
@ -96,10 +96,10 @@ def userPanel(userID, force = False):
|
||||||
userRank = 0
|
userRank = 0
|
||||||
if username == "FokaBot":
|
if username == "FokaBot":
|
||||||
userRank |= userRanks.MOD
|
userRank |= userRanks.MOD
|
||||||
elif userUtils.isInPrivilegeGroup(userID, "community manager"):
|
|
||||||
userRank |= userRanks.MOD
|
|
||||||
elif userUtils.isInPrivilegeGroup(userID, "developer"):
|
elif userUtils.isInPrivilegeGroup(userID, "developer"):
|
||||||
userRank |= userRanks.ADMIN
|
userRank |= userRanks.ADMIN
|
||||||
|
elif userUtils.isInPrivilegeGroup(userID, "chat mod"):
|
||||||
|
userRank |= userRanks.MOD
|
||||||
elif (userToken.privileges & privileges.USER_DONOR) > 0:
|
elif (userToken.privileges & privileges.USER_DONOR) > 0:
|
||||||
userRank |= userRanks.SUPPORTER
|
userRank |= userRanks.SUPPORTER
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user