controllers: Add supported SASL mechanism lists

This commit is contained in:
Daniel Oaks 2015-12-20 13:29:16 +10:00
parent 9301f5e50e
commit 7b3d88d563
2 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,8 @@ class LimnoriaController(BaseClientController, DirectoryBasedController):
pass pass
with self.open_file('conf/users.conf'): with self.open_file('conf/users.conf'):
pass pass
self.supported_sasl_mechanisms = [
'PLAIN', 'ECDSA-NIST256P-CHALLENGE', 'EXTERNAL']
def run(self, hostname, port, auth): def run(self, hostname, port, auth):
# Runs a client with the config given as arguments # Runs a client with the config given as arguments

View File

@ -22,6 +22,7 @@ class SopelController(BaseClientController):
super().__init__() super().__init__()
self.filename = next(tempfile._get_candidate_names()) + '.cfg' self.filename = next(tempfile._get_candidate_names()) + '.cfg'
self.proc = None self.proc = None
self.supported_sasl_mechanisms = ['PLAIN']
def kill(self): def kill(self):
if self.proc: if self.proc:
self.proc.kill() self.proc.kill()