1
0
Fork 0
forked from External/ergo

WEBIRC: Export fields so the config loads properly

This commit is contained in:
Daniel Oaks 2017-10-15 18:15:18 +10:00
parent 34987ba53a
commit e1868f8a47
2 changed files with 8 additions and 8 deletions

View file

@ -398,7 +398,7 @@ func LoadConfig(filename string) (config *Config, err error) {
var newWebIRC []webircConfig
for _, webirc := range config.Server.WebIRC {
// skip webirc blocks with no hosts (such as the example one)
if len(webirc.hosts) == 0 {
if len(webirc.Hosts) == 0 {
continue
}