Merge pull request #1719 from slingamn/config_panic

fix #1714
This commit is contained in:
Shivaram Lingamneni 2021-06-28 01:51:40 -04:00 committed by GitHub
commit 0a811f9d9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -747,6 +747,9 @@ func (conf *Config) OperatorClasses() (map[string]*OperClass, error) {
// add our own info
oc.Title = info.Title
if oc.Title == "" {
oc.Title = "IRC operator"
}
for _, capab := range info.Capabilities {
oc.Capabilities.Add(fixupCapability(capab))
}