mirror of
https://github.com/nikdoof/mumblepy.git
synced 2025-12-13 06:22:17 +00:00
Return None where ACLs don't have a User defined.
This commit is contained in:
@@ -24,7 +24,8 @@ class ACL(object):
|
||||
@property
|
||||
def user(self):
|
||||
"""Returns the User ID this ACL applies to"""
|
||||
return self.__acl.userid
|
||||
if self.__acl.userid != -1:
|
||||
return self.__acl.userid
|
||||
|
||||
@property
|
||||
def group(self):
|
||||
|
||||
Reference in New Issue
Block a user