forked from External/ergo
WEBIRC: Export fields so the config loads properly
This commit is contained in:
parent
34987ba53a
commit
e1868f8a47
2 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue