mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 09:22:21 +00:00
fix: remove redundant code block and duplicate initialization logic in Controller.cs
This commit is contained in:
parent
543aa5f047
commit
af865b9373
@ -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);
|
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)
|
if (init.torrs == null || init.torrs.Length == 0)
|
||||||
return OnError("lme_jacktor", refresh_proxy: true);
|
return OnError("lme_jacktor", refresh_proxy: true);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user