|
@ -201,6 +201,13 @@ class MumbleCtlIce_118(MumbleCtlBase): |
|
|
def setSuperUserPassword(self, srvid, value): |
|
|
def setSuperUserPassword(self, srvid, value): |
|
|
self._getIceServerObject(srvid).setSuperuserPassword( value.encode( "UTF-8" ) ) |
|
|
self._getIceServerObject(srvid).setSuperuserPassword( value.encode( "UTF-8" ) ) |
|
|
|
|
|
|
|
|
|
|
|
@protectDjangoErrPage |
|
|
|
|
|
def getConf(self, srvid, key): |
|
|
|
|
|
if key == "username": |
|
|
|
|
|
key = "playername"; |
|
|
|
|
|
|
|
|
|
|
|
return self._getIceServerObject(srvid).getConf( key ) |
|
|
|
|
|
|
|
|
@protectDjangoErrPage |
|
|
@protectDjangoErrPage |
|
|
def setConf(self, srvid, key, value): |
|
|
def setConf(self, srvid, key, value): |
|
|
if key == "username": |
|
|
if key == "username": |
|
@ -408,6 +415,10 @@ class MumbleCtlIce_120(MumbleCtlIce_118): |
|
|
|
|
|
|
|
|
return info; |
|
|
return info; |
|
|
|
|
|
|
|
|
|
|
|
@protectDjangoErrPage |
|
|
|
|
|
def getConf(self, srvid, key): |
|
|
|
|
|
return self._getIceServerObject(srvid).getConf( key ) |
|
|
|
|
|
|
|
|
@protectDjangoErrPage |
|
|
@protectDjangoErrPage |
|
|
def setConf(self, srvid, key, value): |
|
|
def setConf(self, srvid, key, value): |
|
|
self._getIceServerObject(srvid).setConf( key, value.encode( "UTF-8" ) ) |
|
|
self._getIceServerObject(srvid).setConf( key, value.encode( "UTF-8" ) ) |
|
|