From 462344a0c1826002ae7489021905a3385af8c674 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Sat, 29 Nov 2025 19:09:14 +0800 Subject: [PATCH] no message --- src/Services/Subscribe/SS.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Services/Subscribe/SS.php b/src/Services/Subscribe/SS.php index f4a20522e..7229da545 100755 --- a/src/Services/Subscribe/SS.php +++ b/src/Services/Subscribe/SS.php @@ -20,9 +20,11 @@ final class SS extends Base } $nodes_raw = Subscribe::getUserNodes($user); - $node_custom_config = json_decode($nodes_raw->custom_config, true); foreach ($nodes_raw as $node_raw) { + + $node_custom_config = json_decode($node_raw->custom_config, true); + if ((int) $node_raw->sort === 0) { $links .= base64_encode($user->method . ':' . $user->passwd . '@' . $node_raw->server . ':' . (int) $node_custom_config['offset_port_user']) . '#' . $node_raw->name . PHP_EOL;