mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-11-06 16:14:11 +00:00
server and manager will still derive mode from the global scope
This commit is contained in:
@@ -1345,7 +1345,12 @@ impl Config {
|
||||
return Err(err);
|
||||
}
|
||||
},
|
||||
None => {}
|
||||
None => {
|
||||
// Server will derive mode from the global scope
|
||||
if matches!(config_type, ConfigType::Server | ConfigType::Manager) {
|
||||
nsvr.set_mode(global_mode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(p) = svr.plugin {
|
||||
|
||||
Reference in New Issue
Block a user