mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
update nick reservation docs
This commit is contained in:
parent
85c39f3ea0
commit
45471138d2
2 changed files with 43 additions and 25 deletions
|
|
@ -1118,6 +1118,10 @@ func LoadConfig(filename string) (config *Config, err error) {
|
|||
config.Accounts.Multiclient.AllowedByDefault = true
|
||||
}
|
||||
|
||||
if !config.Accounts.NickReservation.Enabled {
|
||||
config.Accounts.NickReservation.ForceNickEqualsAccount = false
|
||||
}
|
||||
|
||||
if config.Accounts.NickReservation.ForceNickEqualsAccount && !config.Accounts.Multiclient.Enabled {
|
||||
return nil, errors.New("force-nick-equals-account requires enabling multiclient as well")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue