mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
accounts: Fix broken long SASL auth strings
This commit is contained in:
parent
88ce999b52
commit
32b328f53f
@ -126,11 +126,10 @@ func authenticateHandler(server *Server, client *Client, msg ircmsg.IrcMessage)
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
} else if len(client.saslValue) > 0 {
|
|
||||||
client.saslValue += rawData
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
if rawData != "+" {
|
||||||
client.saslValue += rawData
|
client.saslValue += rawData
|
||||||
|
}
|
||||||
|
|
||||||
var data []byte
|
var data []byte
|
||||||
var err error
|
var err error
|
||||||
|
Loading…
Reference in New Issue
Block a user