diff --git a/protocols/clientbot.py b/protocols/clientbot.py index 70de407..bc69dbc 100644 --- a/protocols/clientbot.py +++ b/protocols/clientbot.py @@ -494,7 +494,8 @@ class ClientbotWrapperProtocol(Protocol): # Only send CAP END immediately if SASL is disabled. Otherwise, wait for the 90x responses # to do so. - self.saslAuth() + if not self.saslAuth(): + self.irc.send('CAP END') elif subcmd == 'NAK': self.irc.send('CAP END')