mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-21 19:51:03 -07:00
Up identlen default to 20
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -416,7 +416,7 @@ limits:
|
||||
nicklen: 32
|
||||
|
||||
# identlen is the max ident length allowed
|
||||
identlen: 10
|
||||
identlen: 20
|
||||
|
||||
# channellen is the max channel length allowed
|
||||
channellen: 64
|
||||
|
||||
Reference in New Issue
Block a user