remove byte conversion

This commit is contained in:
Josh Baker 2017-04-21 19:48:22 -07:00
parent 5cce96d461
commit 0be017aab7
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ func (w *Writer) WriteString(msg string) {
w.b = append(w.b, '+', 'O', 'K', '\r', '\n')
} else {
w.b = append(w.b, '+')
w.b = append(w.b, []byte(msg)...)
w.b = append(w.b, msg...)
w.b = append(w.b, '\r', '\n')
}
}