From af865b937384ac9c2df3914c8c9364208c9f2deb Mon Sep 17 00:00:00 2001 From: Felix Date: Sun, 12 Apr 2026 11:27:17 +0300 Subject: [PATCH] fix: remove redundant code block and duplicate initialization logic in Controller.cs --- LME.JackTor/Controller.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/LME.JackTor/Controller.cs b/LME.JackTor/Controller.cs index 9809061..1fbf4e6 100644 --- a/LME.JackTor/Controller.cs +++ b/LME.JackTor/Controller.cs @@ -353,12 +353,6 @@ namespace LME.JackTor.Controllers return await AuthStream(tsHost, init.base_auth.login, init.base_auth.passwd, addheaders: init.base_auth.headers); } - if (init.torrs == null || init.torrs.Length == 0) - return OnError("lme_jacktor", refresh_proxy: true); - - string key = $"lme_jacktor:ts4:{rid}:{requestInfo.IP}";, init.base_auth.login, init.base_auth.passwd, addheaders: init.base_auth.headers); - } - if (init.torrs == null || init.torrs.Length == 0) return OnError("lme_jacktor", refresh_proxy: true);