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