From 4fbf7958113ff4f4f17e26c174041db1783e7467 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Wed, 22 Jul 2020 03:28:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=BC=BA=E5=AE=A2=E6=88=B7=E7=AB=AF?= =?UTF-8?q?=E7=A9=BA=E5=AF=86=E7=A0=81=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/AutoReseed.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/AutoReseed.php b/app/AutoReseed.php index 12b42c2..5a74175 100644 --- a/app/AutoReseed.php +++ b/app/AutoReseed.php @@ -13,7 +13,7 @@ use IYUU\Library\Table; class AutoReseed { // 版本号 - const VER = '1.9.6'; + const VER = '1.9.7'; // RPC连接 private static $links = []; // 客户端配置 @@ -607,6 +607,10 @@ class AutoReseed echo "clients_".$k."是目标转移客户端,避免冲突,已跳过!".PHP_EOL.PHP_EOL; continue; } + if (empty(self::$links[$k])) { + echo "clients_".$k." 用户名或密码未配置,已跳过".PHP_EOL.PHP_EOL; + continue; + } echo "正在从下载器 clients_".$k." 获取种子哈希……".PHP_EOL; $move = []; // 客户端做种列表 传址 $hashArray = self::$links[$k]['rpc']->getList($move);