1
0
Fork 0
forked from External/ergo

upgrade to irc-go v0.4.0

This commit is contained in:
Shivaram Lingamneni 2023-06-14 02:46:14 -04:00
parent d14ff9b3d5
commit ad3ad97047
9 changed files with 178 additions and 82 deletions

View file

@ -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