From f827c2f37a3a51a73177abb6ee0e088c80ffbbda Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Thu, 11 Nov 2010 21:34:16 +0100 Subject: [PATCH] add missing kickUser method --- pyweb/mumble/MumbleCtlIce.py | 4 ++++ 1 file changed, 4 insertions(+) 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" ) )