From 52127edde32f5176a11f2c504d09c0be6af05286 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Wed, 18 Jan 2017 09:46:30 +1000 Subject: [PATCH] config: Better explain linelen --- irc/config.go | 2 +- oragono.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/irc/config.go b/irc/config.go index 0a689026..9ba19a5f 100644 --- a/irc/config.go +++ b/irc/config.go @@ -342,7 +342,7 @@ func LoadConfig(filename string) (config *Config, err error) { } } if config.Limits.LineLen.Tags < 512 || config.Limits.LineLen.Rest < 512 { - return nil, errors.New("Line length must be 512 or greater") + return nil, errors.New("Line lengths must be 512 or greater (check the linelen section under server->limits)") } return config, nil diff --git a/oragono.yaml b/oragono.yaml index 9885298e..9dd29dcf 100644 --- a/oragono.yaml +++ b/oragono.yaml @@ -204,6 +204,7 @@ limits: chan-list-modes: 60 # maximum length of IRC lines + # this should generally be 1024-2048, and will only apply when negotiated by clients linelen: # tags section tags: 2048