|
@ -113,8 +113,7 @@ class mmChannel( object ): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def getURL( self, forUser = None ): |
|
|
def getURL( self, forUser = None ): |
|
|
""" |
|
|
|
|
|
Create an URL to connect to this channel. The URL is of the form |
|
|
|
|
|
|
|
|
""" Create an URL to connect to this channel. The URL is of the form |
|
|
mumble://username@host:port/parentchans/self.name |
|
|
mumble://username@host:port/parentchans/self.name |
|
|
""" |
|
|
""" |
|
|
userstr = ""; |
|
|
userstr = ""; |
|
@ -139,7 +138,7 @@ class mmChannel( object ): |
|
|
connecturl = property( getURL, doc="A convenience wrapper for getURL." ); |
|
|
connecturl = property( getURL, doc="A convenience wrapper for getURL." ); |
|
|
|
|
|
|
|
|
def setDefault( self ): |
|
|
def setDefault( self ): |
|
|
"Make this the server's default channel." |
|
|
|
|
|
|
|
|
""" Make this the server's default channel. """ |
|
|
self.server.defchan = self.chanid; |
|
|
self.server.defchan = self.chanid; |
|
|
self.server.save(); |
|
|
self.server.save(); |
|
|
|
|
|
|
|
|