1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-26 07:29:09 -04:00

rename server spec user

This commit is contained in:
Darien Raymond
2016-09-25 22:57:27 +02:00
parent c5f09c64a2
commit 922e761bef
5 changed files with 21 additions and 22 deletions

View File

@@ -58,7 +58,7 @@ func (this *ClientConfig) UnmarshalJSON(data []byte) error {
return err
}
user.Account = anyAccount
server.Users = append(server.Users, user)
server.User = append(server.User, user)
}
this.Server[idx] = server
}

View File

@@ -71,7 +71,7 @@ func (this *Config) UnmarshalJSON(data []byte) error {
return common.ErrBadConfiguration
}
user.Account = anyAccount
spec.Users = append(spec.Users, user)
spec.User = append(spec.User, user)
}
serverSpecs[idx] = spec
}