Browse Source

add verifyPassword methods. see #56

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
4d31f76e0c
  1. 3
      pyweb/mumble/MumbleCtlIce.py
  2. 3
      pyweb/mumble/mctl.py

3
pyweb/mumble/MumbleCtlIce.py

@ -250,6 +250,9 @@ class MumbleCtlIce_118(MumbleCtlBase):
# finally call murmur and set the texture # finally call murmur and set the texture
self._getIceServerObject(srvid).setTexture(mumbleid, texture) self._getIceServerObject(srvid).setTexture(mumbleid, texture)
def verifyPassword(self, srvid, username, password):
return self._getIceServerObject(srvid).verifyPassword(username, password);
@staticmethod @staticmethod
def setUnicodeFlag(data): def setUnicodeFlag(data):
ret = '' ret = ''

3
pyweb/mumble/mctl.py

@ -91,6 +91,9 @@ class MumbleCtlBase (object):
def setTexture(self, srvid, mumbleid, infile): def setTexture(self, srvid, mumbleid, infile):
raise NotImplementedError( "mctl::setTexture" ); raise NotImplementedError( "mctl::setTexture" );
def verifyPassword( self, srvid, username, password ):
raise NotImplementedError( "mctl::verifyPassword" );
@staticmethod @staticmethod
def newInstance( connstring ): def newInstance( connstring ):
""" Create a new CTL object for the given connstring. """ """ Create a new CTL object for the given connstring. """

Loading…
Cancel
Save