add not have active user error message for shadowsocks node

This commit is contained in:
yuzuki999 2022-07-22 15:45:17 +08:00
parent 3d99902155
commit c702ea1461

View File

@ -214,6 +214,8 @@ func (c *Client) ParseSSNodeResponse() (*NodeInfo, error) {
if len(*userInfo) > 0 {
port = (*userInfo)[0].Port
method = (*userInfo)[0].Cipher
} else {
return nil, fmt.Errorf("shadowsocks node need a active user")
}
if err != nil {