Browse Source

add missing kickUser method

Natenom/support-murmur-13-1446181288462
Michael Ziegler 14 years ago
parent
commit
f827c2f37a
  1. 4
      pyweb/mumble/MumbleCtlIce.py

4
pyweb/mumble/MumbleCtlIce.py

@ -481,6 +481,10 @@ class MumbleCtlIce_118(MumbleCtlBase):
state.deaf = deaf state.deaf = deaf
srv.setState(state) srv.setState(state)
@protectDjangoErrPage
def kickUser(self, srvid, userid, reason=""):
return self._getIceServerObject(srvid).kickPlayer( userid, reason.encode("UTF-8") )
@protectDjangoErrPage @protectDjangoErrPage
def sendMessage(self, srvid, sessionid, message): def sendMessage(self, srvid, sessionid, message):
return self._getIceServerObject(srvid).sendMessage( sessionid, message.encode( "UTF-8" ) ) return self._getIceServerObject(srvid).sendMessage( sessionid, message.encode( "UTF-8" ) )

Loading…
Cancel
Save