Get it working, using not-great and very initial splitting code

This commit is contained in:
Daniel Oaks 2017-01-14 15:28:50 +10:00
parent 92626a178d
commit f6185fa336
4 changed files with 127 additions and 11 deletions

View file

@ -16,9 +16,6 @@ var (
// Ver is the full version of Oragono, used in responses to clients.
Ver = fmt.Sprintf("oragono-%s", SemVer)
// Used as the standard maximum line length unless overridden at runtime.
maxLineTagsLength = 512
maxLineRestLength = 512
// maxLastArgLength is used to simply cap off the final argument when creating general messages where we need to select a limit.
// for instance, in MONITOR lists, RPL_ISUPPORT lists, etc.
maxLastArgLength = 400