mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-21 03:38:25 -07:00
upgrade to irc-go v0.4.0
This commit is contained in:
+1
-1
@@ -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