Closed xPaw closed 5 years ago
Meaning doing SASL auth would prevent CAP END from being sent.
This already prevented RPL_SASLLOGGEDIN from sending CAP END, and after #184 RPL_LOGGEDIN would no longer send one either.
I set it to true in LS, but since the condition is only checked in auth related numerics, I could put it in ACK before sending AUTHENTICATE.
true
LS
ACK
AUTHENTICATE
Should probably also reset it to false when a new connection is opened?
false
@xPaw resetting it on a new connection makes sense, yes. Also, negotiating = true in LS as you have it makes more sense as it's specifically relating to CAP negotiating, not auth.
negotiating = true
Meaning doing SASL auth would prevent CAP END from being sent.
This already prevented RPL_SASLLOGGEDIN from sending CAP END, and after #184 RPL_LOGGEDIN would no longer send one either.
I set it to
true
inLS
, but since the condition is only checked in auth related numerics, I could put it inACK
before sendingAUTHENTICATE
.Should probably also reset it to
false
when a new connection is opened?