mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Up identlen default to 20
This commit is contained in:
parent
cfbb4361dc
commit
151002e232
2 changed files with 2 additions and 2 deletions
|
|
@ -494,7 +494,7 @@ func LoadConfig(filename string) (config *Config, err error) {
|
|||
}
|
||||
//dan: automagically fix identlen until a few releases in the future (from now, 0.12.0), being a newly-introduced limit
|
||||
if config.Limits.IdentLen < 1 {
|
||||
config.Limits.IdentLen = 10
|
||||
config.Limits.IdentLen = 20
|
||||
}
|
||||
if config.Limits.NickLen < 1 || config.Limits.ChannelLen < 2 || config.Limits.AwayLen < 1 || config.Limits.KickLen < 1 || config.Limits.TopicLen < 1 {
|
||||
return nil, ErrLimitsAreInsane
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue