We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56b6c35 commit c1f6396Copy full SHA for c1f6396
crates/shadowsocks-service/src/local/online_config/mod.rs
@@ -217,7 +217,7 @@ impl OnlineConfigService {
217
// Check plugin whitelist
218
if let Some(ref allowed_plugins) = self.allowed_plugins {
219
for server in &online_config.server {
220
- if let Some(ref plugin) = server.config.plugin() {
+ if let Some(plugin) = server.config.plugin() {
221
if !allowed_plugins.contains(&plugin.plugin) {
222
error!(
223
"server-loader task found not allowed plugin: {}, url: {}",
0 commit comments