forked from External/ergo
deprecate message truncation
Implements #1577, but the issue should remain open until we clean up the debugging loglines.
This commit is contained in:
parent
6fae02d335
commit
03185ea4a9
12 changed files with 148 additions and 29 deletions
|
|
@ -569,7 +569,9 @@ type Config struct {
|
|||
Compatibility struct {
|
||||
ForceTrailing *bool `yaml:"force-trailing"`
|
||||
forceTrailing bool
|
||||
SendUnprefixedSasl bool `yaml:"send-unprefixed-sasl"`
|
||||
SendUnprefixedSasl bool `yaml:"send-unprefixed-sasl"`
|
||||
AllowTruncation *bool `yaml:"allow-truncation"`
|
||||
allowTruncation bool
|
||||
}
|
||||
isupport isupport.List
|
||||
IPLimits connection_limits.LimiterConfig `yaml:"ip-limits"`
|
||||
|
|
@ -1378,6 +1380,7 @@ func LoadConfig(filename string) (config *Config, err error) {
|
|||
}
|
||||
|
||||
config.Server.Compatibility.forceTrailing = utils.BoolDefaultTrue(config.Server.Compatibility.ForceTrailing)
|
||||
config.Server.Compatibility.allowTruncation = utils.BoolDefaultTrue(config.Server.Compatibility.AllowTruncation)
|
||||
|
||||
config.loadMOTD()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue