diff --git a/server.go b/server.go index 8292a44..3a01fae 100644 --- a/server.go +++ b/server.go @@ -33,8 +33,7 @@ func main() { log.Printf(cfg.Creds) - var creds socks5.StaticCredentials - creds, err = getCredentials(cfg) + creds, err := getCredentials(cfg) if len(creds) > 0 { cator := socks5.UserPassAuthenticator{Credentials: creds}