forked from External/ergo
fix #696
This commit is contained in:
parent
9d56677691
commit
e143aaa83f
7 changed files with 47 additions and 6 deletions
|
|
@ -211,6 +211,7 @@ type OperConfig struct {
|
|||
Vhost string
|
||||
WhoisLine string `yaml:"whois-line"`
|
||||
Password string
|
||||
Certfp string
|
||||
Modes string
|
||||
}
|
||||
|
||||
|
|
@ -459,6 +460,7 @@ type Oper struct {
|
|||
WhoisLine string
|
||||
Vhost string
|
||||
Pass []byte
|
||||
Certfp string
|
||||
Modes []modes.ModeChange
|
||||
}
|
||||
|
||||
|
|
@ -479,6 +481,7 @@ func (conf *Config) Operators(oc map[string]*OperClass) (map[string]*Oper, error
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
oper.Certfp = opConf.Certfp
|
||||
|
||||
oper.Vhost = opConf.Vhost
|
||||
class, exists := oc[opConf.Class]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue