3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 20:09:41 +01:00

accounts: Fix broken long SASL auth strings

This commit is contained in:
Daniel Oaks 2016-09-19 20:52:24 +10:00
parent 88ce999b52
commit 32b328f53f

View File

@ -126,11 +126,10 @@ func authenticateHandler(server *Server, client *Client, msg ircmsg.IrcMessage)
return false
}
return false
} else if len(client.saslValue) > 0 {
client.saslValue += rawData
return false
}
if rawData != "+" {
client.saslValue += rawData
}
var data []byte
var err error