mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
fix: wrong typo
This commit is contained in:
@@ -74,7 +74,7 @@ func (c *Core) AddUsers(p *vCore.AddUsersParams) (added int, err error) {
|
||||
users := make([]*protocol.User, 0, len(p.UserInfo))
|
||||
switch p.NodeInfo.Type {
|
||||
case "v2ray":
|
||||
if p.NodeInfo.ExtraConfig.EnableVless {
|
||||
if p.NodeInfo.ExtraConfig.EnableVless == "true" {
|
||||
users = buildVlessUsers(p.Tag, p.UserInfo, p.NodeInfo.ExtraConfig.VlessFlow)
|
||||
} else {
|
||||
users = buildVmessUsers(p.Tag, p.UserInfo)
|
||||
|
||||
Reference in New Issue
Block a user