mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-11 06:29:29 +01:00
config: Better explain linelen
This commit is contained in:
parent
cbe49ff3d8
commit
52127edde3
@ -342,7 +342,7 @@ func LoadConfig(filename string) (config *Config, err error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if config.Limits.LineLen.Tags < 512 || config.Limits.LineLen.Rest < 512 {
|
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
|
return config, nil
|
||||||
|
@ -204,6 +204,7 @@ limits:
|
|||||||
chan-list-modes: 60
|
chan-list-modes: 60
|
||||||
|
|
||||||
# maximum length of IRC lines
|
# maximum length of IRC lines
|
||||||
|
# this should generally be 1024-2048, and will only apply when negotiated by clients
|
||||||
linelen:
|
linelen:
|
||||||
# tags section
|
# tags section
|
||||||
tags: 2048
|
tags: 2048
|
||||||
|
Loading…
Reference in New Issue
Block a user