aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.go b/config.go
index 65de9b8..35ac9ac 100644
--- a/config.go
+++ b/config.go
@@ -101,6 +101,7 @@ func FallbackServers(server string) []string {
if len(conf.Servers) == 0 {
return fallbacks
}
+
return append(fallbacks, conf.Servers[0].Name)
} else {
return append(fallbacks, conf.FallbackServers...)