forked from External/ergo
refactor the rehash implementation
This commit is contained in:
parent
eae04e8c51
commit
e8b1870067
7 changed files with 324 additions and 252 deletions
|
|
@ -244,6 +244,8 @@ type Config struct {
|
|||
WhowasEntries uint `yaml:"whowas-entries"`
|
||||
LineLen LineLenConfig `yaml:"linelen"`
|
||||
}
|
||||
|
||||
Filename string
|
||||
}
|
||||
|
||||
// OperClass defines an assembled operator class.
|
||||
|
|
@ -390,6 +392,8 @@ func LoadConfig(filename string) (config *Config, err error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
config.Filename = filename
|
||||
|
||||
// we need this so PasswordBytes returns the correct info
|
||||
if config.Server.Password != "" {
|
||||
config.Server.PassConfig.Password = config.Server.Password
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue