mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-03-15 16:58:13 -04:00
add not have active user error message for shadowsocks node
This commit is contained in:
parent
3d99902155
commit
c702ea1461
@ -214,6 +214,8 @@ func (c *Client) ParseSSNodeResponse() (*NodeInfo, error) {
|
|||||||
if len(*userInfo) > 0 {
|
if len(*userInfo) > 0 {
|
||||||
port = (*userInfo)[0].Port
|
port = (*userInfo)[0].Port
|
||||||
method = (*userInfo)[0].Cipher
|
method = (*userInfo)[0].Cipher
|
||||||
|
} else {
|
||||||
|
return nil, fmt.Errorf("shadowsocks node need a active user")
|
||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user