mirror of
https://github.com/nikdoof/mumblepy.git
synced 2025-12-18 04:09:23 +00:00
Add ACL support.
This commit is contained in:
@@ -42,6 +42,18 @@ class Server(object):
|
||||
def set_conf(self, key, value):
|
||||
return self.__server.setConf(key, value)
|
||||
|
||||
# ACLs
|
||||
|
||||
def get_acls(self, channel_id):
|
||||
acls, groups, inherit = self.__server.getACL(channel_id)
|
||||
return acls
|
||||
|
||||
# Groups
|
||||
|
||||
def get_groups(self, channel_id):
|
||||
acls, groups, inherit = self.__server.getACL(channel_id)
|
||||
return groups
|
||||
|
||||
# Channels
|
||||
|
||||
def get_channels(self):
|
||||
|
||||
Reference in New Issue
Block a user