diff --git a/pyweb/mumble/MumbleCtlIce.py b/pyweb/mumble/MumbleCtlIce.py index f2d65bf..dfbb3c1 100644 --- a/pyweb/mumble/MumbleCtlIce.py +++ b/pyweb/mumble/MumbleCtlIce.py @@ -481,6 +481,10 @@ class MumbleCtlIce_118(MumbleCtlBase): state.deaf = deaf srv.setState(state) + @protectDjangoErrPage + def kickUser(self, srvid, userid, reason=""): + return self._getIceServerObject(srvid).kickPlayer( userid, reason.encode("UTF-8") ) + @protectDjangoErrPage def sendMessage(self, srvid, sessionid, message): return self._getIceServerObject(srvid).sendMessage( sessionid, message.encode( "UTF-8" ) )