From bb8ccf8c855f546d6b7b84d26912194f7b30d32d Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Mon, 9 Oct 2017 15:24:34 +0200 Subject: [PATCH] make chat mods red, too --- constants/serverPackets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/constants/serverPackets.py b/constants/serverPackets.py index 7bbe228..299d0b1 100644 --- a/constants/serverPackets.py +++ b/constants/serverPackets.py @@ -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: