Fix handling of empty response to SASL challenge
git-svn-id: file:///srv/svn/repo/suika/trunk@318 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
parent
adbb37b8d7
commit
69e7615895
@ -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…
x
Reference in New Issue
Block a user