diff --git a/irctest/controllers/limnoria.py b/irctest/controllers/limnoria.py index ca01b9e..4ae0ba4 100644 --- a/irctest/controllers/limnoria.py +++ b/irctest/controllers/limnoria.py @@ -17,14 +17,15 @@ supybot.networks.testnet.sasl.mechanisms: {mechanisms} """ class LimnoriaController(BaseClientController, DirectoryBasedController): + supported_sasl_mechanisms = { + 'PLAIN', 'ECDSA-NIST256P-CHALLENGE', 'EXTERNAL', + } def create_config(self): super().create_config() with self.open_file('bot.conf'): pass with self.open_file('conf/users.conf'): pass - self.supported_sasl_mechanisms = [ - 'PLAIN', 'ECDSA-NIST256P-CHALLENGE', 'EXTERNAL'] def run(self, hostname, port, auth): # Runs a client with the config given as arguments diff --git a/irctest/controllers/sopel.py b/irctest/controllers/sopel.py index 280d55a..78678aa 100644 --- a/irctest/controllers/sopel.py +++ b/irctest/controllers/sopel.py @@ -18,11 +18,13 @@ auth_password = {password} """ class SopelController(BaseClientController): + supported_sasl_mechanisms = [ + 'PLAIN', + ] def __init__(self): super().__init__() self.filename = next(tempfile._get_candidate_names()) + '.cfg' self.proc = None - self.supported_sasl_mechanisms = ['PLAIN'] def kill(self): if self.proc: self.proc.kill()