Browse Source

hrmpf

Natenom/support-murmur-13-1446181288462
Michael Ziegler 16 years ago
parent
commit
51976cdfa7
  1. 2
      pyweb/mumble/models.py

2
pyweb/mumble/models.py

@ -188,7 +188,7 @@ class MumbleUser( models.Model ):
def getAdmin( self ): def getAdmin( self ):
# Get ACL of root Channel, get the admin group and see if I'm in it # Get ACL of root Channel, get the admin group and see if I'm in it
bus = self.server.getDbusObject(); bus = self.server.getDbusObject();
acl = mmACL( bus.getACL(0), 0 );
acl = mmACL( 0, bus.getACL(0) );
if not hasattr( acl, "admingroup" ): if not hasattr( acl, "admingroup" ):
raise ValueError( "The admin group was not found in the ACL's groups list!" ); raise ValueError( "The admin group was not found in the ACL's groups list!" );

Loading…
Cancel
Save