mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
parent
20aa8efe56
commit
b68696eb9b
1 changed files with 3 additions and 0 deletions
|
|
@ -747,6 +747,9 @@ func (conf *Config) OperatorClasses() (map[string]*OperClass, error) {
|
||||||
|
|
||||||
// add our own info
|
// add our own info
|
||||||
oc.Title = info.Title
|
oc.Title = info.Title
|
||||||
|
if oc.Title == "" {
|
||||||
|
oc.Title = "IRC operator"
|
||||||
|
}
|
||||||
for _, capab := range info.Capabilities {
|
for _, capab := range info.Capabilities {
|
||||||
oc.Capabilities.Add(fixupCapability(capab))
|
oc.Capabilities.Add(fixupCapability(capab))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue