From b884425048418423bf9571a52e781ba30f51980b Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sat, 16 May 2009 23:46:11 +0200 Subject: [PATCH] fixed various settings not being updated in Murmur correctly due to case sensitivity of setConf(). closes: #4 --- pyweb/mumble/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyweb/mumble/models.py b/pyweb/mumble/models.py index 4e5e0cc..420f04f 100644 --- a/pyweb/mumble/models.py +++ b/pyweb/mumble/models.py @@ -78,8 +78,8 @@ class Mumble( models.Model ): srvid = dbus.Int32( self.srvid ); murmur.setConf( srvid, 'host', socket.gethostbyname( self.addr ) ); - murmur.setConf( srvid, 'registerName', self.name ); - murmur.setConf( srvid, 'registerUrl', self.url ); + murmur.setConf( srvid, 'registername', self.name ); + murmur.setConf( srvid, 'registerurl', self.url ); murmur.setConf( srvid, 'welcometext', self.motd ); murmur.setConf( srvid, 'password', self.passwd ); murmur.setConf( srvid, 'certificate', self.sslcrt ); @@ -107,9 +107,9 @@ class Mumble( models.Model ): # registerHostname needs to take the port no into account if self.port and self.port != 64738: - murmur.setConf( srvid, 'registerHostname', "%s:%d" % ( self.addr, self.port ) ); + murmur.setConf( srvid, 'registerhostname', "%s:%d" % ( self.addr, self.port ) ); else: - murmur.setConf( srvid, 'registerHostname', self.addr ); + murmur.setConf( srvid, 'registerhostname', self.addr ); if self.supw: murmur.setSuperUserPassword( srvid, self.supw );