mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-11-06 08:14:07 +00:00
chore: make clippy happy
This commit is contained in:
@@ -217,7 +217,7 @@ impl OnlineConfigService {
|
||||
// Check plugin whitelist
|
||||
if let Some(ref allowed_plugins) = self.allowed_plugins {
|
||||
for server in &online_config.server {
|
||||
if let Some(ref plugin) = server.config.plugin() {
|
||||
if let Some(plugin) = server.config.plugin() {
|
||||
if !allowed_plugins.contains(&plugin.plugin) {
|
||||
error!(
|
||||
"server-loader task found not allowed plugin: {}, url: {}",
|
||||
|
||||
Reference in New Issue
Block a user