Fix handling of empty response to SASL challenge
This commit is contained in:
parent
6c1634799a
commit
1fa5195b2f
@ -507,7 +507,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
|
||||
|
||||
// TODO: send response in multiple chunks if >= 400 bytes
|
||||
var respStr = "+"
|
||||
if resp != nil {
|
||||
if len(resp) != 0 {
|
||||
respStr = base64.StdEncoding.EncodeToString(resp)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user