summaryrefslogtreecommitdiff
path: root/pkg/vpn/bonafide/gateways.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vpn/bonafide/gateways.go')
-rw-r--r--pkg/vpn/bonafide/gateways.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/vpn/bonafide/gateways.go b/pkg/vpn/bonafide/gateways.go
index 25ab027..f75e744 100644
--- a/pkg/vpn/bonafide/gateways.go
+++ b/pkg/vpn/bonafide/gateways.go
@@ -313,7 +313,7 @@ func (p *gatewayPool) getAll(transport string, tz int) ([]Gateway, error) {
log.Println(">>> in getAll")
log.Println("seems to be initialized...")
- if p.recommended == nil || len(p.recommended) == 0 {
+ if len(p.recommended) == 0 {
return p.getGatewaysFromMenshen(transport, 999)
}
log.Println(">>> by timezone")