From 9880c5004d5bf6b378fcca872657fd021cb6ad86 Mon Sep 17 00:00:00 2001 From: Nyo Date: Mon, 16 Jan 2017 19:37:41 +0100 Subject: [PATCH] .BANCHO. .FIX. Chat mods can now write in moderated channel and access #admin channel --- objects/osuToken.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/objects/osuToken.py b/objects/osuToken.py index c2a57bf..0e44796 100644 --- a/objects/osuToken.py +++ b/objects/osuToken.py @@ -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)