mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Very initial maxline work
This commit is contained in:
parent
a0c97542ee
commit
d2e18962e3
7 changed files with 50 additions and 11 deletions
|
|
@ -16,6 +16,8 @@ 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.
|
||||
maxLineLength = 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue