Fix empty SASL challenge message
We were sending an empty string. We need to send "+" instead.
This commit is contained in:
parent
cb52f393f4
commit
ec98c6f04f
@ -454,7 +454,7 @@ func (dc *downstreamConn) handleMessageUnregistered(msg *irc.Message) error {
|
||||
})
|
||||
} else {
|
||||
challengeStr := "+"
|
||||
if challenge != nil {
|
||||
if len(challenge) == 0 {
|
||||
challengeStr = base64.StdEncoding.EncodeToString(challenge)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user