Skip to content

Commit

Permalink
(*SASLBuffer).Add: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
slingamn committed Feb 7, 2024
1 parent 46f819a commit 22ffb35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ircutils/sasl.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func (b *SASLBuffer) Initialize(maxLength int) {
}

// Add processes an additional SASL response chunk sent via AUTHENTICATE.
// If the response is complete, it returns the decoded response along with
// any decoding or protocol errors detected.
// If the response is complete, it resets the buffer and returns the decoded
// response along with any decoding or protocol errors detected.
func (b *SASLBuffer) Add(value string) (done bool, output []byte, err error) {
if value == "+" {
output, err = b.getAndReset()
Expand Down

0 comments on commit 22ffb35

Please sign in to comment.