mirror of
https://github.com/jeremyd/ergo.git
synced 2026-04-27 08:00:00 -07:00
upgrade to irc-go v0.4.0
This commit is contained in:
2
vendor/github.com/ergochat/irc-go/ircmsg/message.go
generated
vendored
2
vendor/github.com/ergochat/irc-go/ircmsg/message.go
generated
vendored
@@ -238,7 +238,7 @@ func parseLine(line string, maxTagDataLength int, truncateLen int) (ircmsg Messa
|
||||
// truncate if desired
|
||||
if truncateLen != 0 && truncateLen < len(line) {
|
||||
err = ErrorBodyTooLong
|
||||
line = line[:truncateLen]
|
||||
line = TruncateUTF8Safe(line, truncateLen)
|
||||
}
|
||||
|
||||
// modern: "These message parts, and parameters themselves, are separated
|
||||
|
||||
Reference in New Issue
Block a user