From 98f12dc41e6794357261dfd9637efc98fd23782e Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 5 Jul 2016 11:11:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9C=AA=E5=AE=8C=E5=85=A8=E6=8B=A6?= =?UTF-8?q?=E6=88=AA=E9=BB=91=E5=90=8D=E5=8D=95=E6=8F=92=E4=BB=B6=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- .../java/pw/yumc/Yum/listeners/PluginNetworkListener.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/pw/yumc/Yum/listeners/PluginNetworkListener.java b/src/main/java/pw/yumc/Yum/listeners/PluginNetworkListener.java index 3a76226..a40e7ed 100644 --- a/src/main/java/pw/yumc/Yum/listeners/PluginNetworkListener.java +++ b/src/main/java/pw/yumc/Yum/listeners/PluginNetworkListener.java @@ -36,9 +36,6 @@ public class PluginNetworkListener implements Listener { if (urlinfo.startsWith("socket")) { return; } - if (ConfigManager.i().getNetworkWhiteURL().contains(e.getUrl().getHost())) { - return; - } if (urlinfo.contains("yumc") || urlinfo.contains("502647092")) { final String 大神你好 = "反编译的大神们我知道你们又要说了这货有后门"; 大神你好.isEmpty(); @@ -49,7 +46,7 @@ public class PluginNetworkListener implements Listener { breakNetwork(e); return; } - if (ConfigManager.i().getNetworkIgnoreList().contains(plugin.getName())) { + if (ConfigManager.i().getNetworkWhiteURL().contains(e.getUrl().getHost()) || ConfigManager.i().getNetworkIgnoreList().contains(plugin.getName())) { return; } if (e.isPrimaryThread()) {