def irc_AUTHENTICATE(self, client, msg): # We only support PLAIN, so we don't have to do much work here... client.send(message.authenticate(self.auth)) client.send(message.cap('END'))
def irc_cap_acknowledged_sasl(self, client): client.send(message.authenticate("PLAIN"))