.BANCHO. .FIX. Chat mods can now write in moderated channel and access #admin channel
This commit is contained in:
parent
d2f111fd7b
commit
9880c5004d
|
@ -30,7 +30,9 @@ class token:
|
|||
self.username = userUtils.getUsername(self.userID)
|
||||
self.safeUsername = userUtils.getSafeUsername(self.userID)
|
||||
self.privileges = userUtils.getPrivileges(self.userID)
|
||||
self.admin = userUtils.isInPrivilegeGroup(self.userID, "developer") or userUtils.isInPrivilegeGroup(self.userID, "community manager")
|
||||
self.admin = userUtils.isInPrivilegeGroup(self.userID, "developer")\
|
||||
or userUtils.isInPrivilegeGroup(self.userID, "community manager")\
|
||||
or userUtils.isInPrivilegeGroup(self.userID, "chat mod")
|
||||
self.irc = irc
|
||||
self.kicked = False
|
||||
self.restricted = userUtils.isRestricted(self.userID)
|
||||
|
|
Loading…
Reference in New Issue
Block a user