From 151002e232027395dce389025353bfc32c898c56 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Mon, 4 Feb 2019 05:01:46 +1000 Subject: [PATCH] Up identlen default to 20 --- irc/config.go | 2 +- oragono.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/irc/config.go b/irc/config.go index 41f49259..03399c58 100644 --- a/irc/config.go +++ b/irc/config.go @@ -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 diff --git a/oragono.yaml b/oragono.yaml index e217f3e2..45ca1748 100644 --- a/oragono.yaml +++ b/oragono.yaml @@ -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