mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +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
|
# Only send CAP END immediately if SASL is disabled. Otherwise, wait for the 90x responses
|
||||||
# to do so.
|
# to do so.
|
||||||
self.saslAuth()
|
if not self.saslAuth():
|
||||||
|
self.irc.send('CAP END')
|
||||||
elif subcmd == 'NAK':
|
elif subcmd == 'NAK':
|
||||||
self.irc.send('CAP END')
|
self.irc.send('CAP END')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user