diff --git a/pyweb/mumble/models.py b/pyweb/mumble/models.py index c8a94f8..9498431 100644 --- a/pyweb/mumble/models.py +++ b/pyweb/mumble/models.py @@ -191,6 +191,8 @@ class Mumble( models.Model ): if self.netloc: self.ctl.setConf( self.srvid, 'registerhostname', self.netloc ); + else: + self.ctl.setConf( self.srvid, 'registerhostname', '' ); # Now allow django to save the record set return models.Model.save( self );