mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
upgrade ircmsg again
This commit is contained in:
parent
323ef7c642
commit
3f20676f46
4 changed files with 5 additions and 4 deletions
3
vendor/github.com/goshuirc/irc-go/ircmsg/tags.go
generated
vendored
3
vendor/github.com/goshuirc/irc-go/ircmsg/tags.go
generated
vendored
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
package ircmsg
|
||||
|
||||
import "bytes"
|
||||
import "strings"
|
||||
|
||||
var (
|
||||
|
|
@ -39,7 +38,7 @@ func EscapeTagValue(inString string) string {
|
|||
// so you don't need to call it yourself after parsing a line.
|
||||
func UnescapeTagValue(inString string) string {
|
||||
// buf.Len() == 0 is the fastpath where we have not needed to unescape any chars
|
||||
var buf bytes.Buffer
|
||||
var buf strings.Builder
|
||||
remainder := inString
|
||||
for {
|
||||
backslashPos := strings.IndexByte(remainder, '\\')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue