Avoid null ProxyBook map. Fixes #111

pull/115/head
Andy Wang 4 years ago
parent 69a73ecfc0
commit 5baac79e56

@ -126,6 +126,9 @@ func ParseConfig(conf string) (raw RawConfig, err error) {
return
}
}
if raw.ProxyBook == nil {
raw.ProxyBook = make(map[string][]string)
}
return
}

Loading…
Cancel
Save