From 51976cdfa712d7f165a7f527b3b48fec8b3718c5 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sun, 29 Mar 2009 21:15:56 +0200 Subject: [PATCH] hrmpf --- pyweb/mumble/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyweb/mumble/models.py b/pyweb/mumble/models.py index fd2a81c..d813ca9 100644 --- a/pyweb/mumble/models.py +++ b/pyweb/mumble/models.py @@ -188,7 +188,7 @@ class MumbleUser( models.Model ): def getAdmin( self ): # Get ACL of root Channel, get the admin group and see if I'm in it bus = self.server.getDbusObject(); - acl = mmACL( bus.getACL(0), 0 ); + acl = mmACL( 0, bus.getACL(0) ); if not hasattr( acl, "admingroup" ): raise ValueError( "The admin group was not found in the ACL's groups list!" );