mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2025-12-10 05:19:45 +05:00
ipset switch fix
This commit is contained in:
@@ -628,7 +628,7 @@ goto menu
|
|||||||
:ipset_switch_status
|
:ipset_switch_status
|
||||||
chcp 437 > nul
|
chcp 437 > nul
|
||||||
|
|
||||||
findstr /R "^0\.0\.0\.0/32$" "%~dp0lists\ipset-all.txt" >nul
|
findstr /R "^203\.0\.113\.113/32$" "%~dp0lists\ipset-all.txt" >nul
|
||||||
if !errorlevel!==0 (
|
if !errorlevel!==0 (
|
||||||
set "IPsetStatus=empty"
|
set "IPsetStatus=empty"
|
||||||
) else (
|
) else (
|
||||||
@@ -644,7 +644,7 @@ cls
|
|||||||
set "listFile=%~dp0lists\ipset-all.txt"
|
set "listFile=%~dp0lists\ipset-all.txt"
|
||||||
set "backupFile=%listFile%.backup"
|
set "backupFile=%listFile%.backup"
|
||||||
|
|
||||||
findstr /R "^0\.0\.0\.0/32$" "%listFile%" >nul
|
findstr /R "^203\.0\.113\.113/32$" "%listFile%" >nul
|
||||||
if !errorlevel!==0 (
|
if !errorlevel!==0 (
|
||||||
echo Enabling ipset based bypass...
|
echo Enabling ipset based bypass...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user