mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
clientbot: send CAP END if SASL is disabled
This commit is contained in:
parent
9cc817d544
commit
651752d23d
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user