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
self._getIceServerObject(srvid).setTexture(mumbleid, texture)
def verifyPassword(self, srvid, username, password):
return self._getIceServerObject(srvid).verifyPassword(username, password);
@staticmethod
def setUnicodeFlag(data):
ret = ''

3
pyweb/mumble/mctl.py

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

Loading…
Cancel
Save