mirror of https://github.com/progval/irctest.git
controllers: Add supported SASL mechanism lists
This commit is contained in:
parent
9301f5e50e
commit
7b3d88d563
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue