forked from External/ergo
upgrade to irc-go v0.4.0
This commit is contained in:
parent
d14ff9b3d5
commit
ad3ad97047
9 changed files with 178 additions and 82 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue