mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-02-02 06:48:14 -05:00
fix ss user build bug
This commit is contained in:
parent
bb0e22335f
commit
ac2b231d48
@ -92,7 +92,7 @@ func getCipherFromString(c string) shadowsocks.CipherType {
|
|||||||
func (c *Node) buildSSUsers(userInfo []panel.UserInfo, cypher shadowsocks.CipherType) (users []*protocol.User) {
|
func (c *Node) buildSSUsers(userInfo []panel.UserInfo, cypher shadowsocks.CipherType) (users []*protocol.User) {
|
||||||
users = make([]*protocol.User, len(userInfo))
|
users = make([]*protocol.User, len(userInfo))
|
||||||
for i := range userInfo {
|
for i := range userInfo {
|
||||||
c.buildSSUser(&(userInfo)[i], cypher)
|
users[i] = c.buildSSUser(&(userInfo)[i], cypher)
|
||||||
}
|
}
|
||||||
return users
|
return users
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user