fix: reality

This commit is contained in:
wyx2685
2025-05-24 18:53:11 +09:00
parent a68378670f
commit eb92c4912d
3 changed files with 10 additions and 11 deletions

View File

@@ -108,8 +108,7 @@ func (b *Sing) AddUsers(p *core.AddUsersParams) (added int, err error) {
Password: p.Users[i].Uuid,
}
}
ids := make([]int, len(p.Users))
err = in.(*anytls.Inbound).AddUsers(us, ids)
err = in.(*anytls.Inbound).AddUsers(us)
}
if err != nil {
return 0, err