make chat mods red, too

This commit is contained in:
Morgan Bazalgette 2017-10-09 15:24:34 +02:00
parent dc90f506bd
commit bb8ccf8c85
No known key found for this signature in database
GPG Key ID: 40D328300D245DA5

View File

@ -96,10 +96,10 @@ def userPanel(userID, force = False):
userRank = 0
if username == "FokaBot":
userRank |= userRanks.MOD
elif userUtils.isInPrivilegeGroup(userID, "community manager"):
userRank |= userRanks.MOD
elif userUtils.isInPrivilegeGroup(userID, "developer"):
userRank |= userRanks.ADMIN
elif userUtils.isInPrivilegeGroup(userID, "chat mod"):
userRank |= userRanks.MOD
elif (userToken.privileges & privileges.USER_DONOR) > 0:
userRank |= userRanks.SUPPORTER
else: