This commit is contained in:
Simon Ser 2020-03-21 08:44:03 +01:00
parent ec98c6f04f
commit 4b9168196a
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -454,7 +454,7 @@ func (dc *downstreamConn) handleMessageUnregistered(msg *irc.Message) error {
}) })
} else { } else {
challengeStr := "+" challengeStr := "+"
if len(challenge) == 0 { if len(challenge) > 0 {
challengeStr = base64.StdEncoding.EncodeToString(challenge) challengeStr = base64.StdEncoding.EncodeToString(challenge)
} }