mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
add not have active user error message for shadowsocks node
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user