From 651752d23d64ba8ce585aa462a1f3b596a4f89fe Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 17 Dec 2016 15:48:01 -0800 Subject: [PATCH] clientbot: send CAP END if SASL is disabled --- protocols/clientbot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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')