mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 19:33:32 +02:00
Fix shadowsocks config
This commit is contained in:
parent
398375d76f
commit
b6391cbbe1
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ func (v *ShadowsocksServerConfig) Build() (proto.Message, error) {
|
|||
config.Method = v.Cipher
|
||||
config.Key = v.Password
|
||||
config.Network = v.NetworkList.Build()
|
||||
if len(v.Users) == 0 {
|
||||
if len(v.Users) != 0 {
|
||||
return nil, newError("shadowsocks 2022 ciphers accept no users.")
|
||||
}
|
||||
return config, nil
|
||||
|
|
Loading…
Reference in a new issue