Skip to content

Commit c8938f1

Browse files
committed
Fixed disable ipv6 if statement
1 parent 28a41ec commit c8938f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

optimize.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ if ($userinput -eq 'y' -or !$userinput) {
193193
if ($AcceptAllTweaks) {
194194
$userinput = 'y'
195195
} else {$userinput = Read-Host -Prompt "Do you want to disable IPv6? (Not Recommended Unless It's Causing Problems) (y/N)"}
196-
if ($userinput -eq 'y' -or !$userinput) {
196+
if ($userinput -eq 'y') {
197197
$IPv6 = Get-Content $configdir\disable_ipv6.json | ConvertFrom-Json
198198

199199
for ($i = 0; $i -lt $Registry.Count; $i++) {

0 commit comments

Comments
 (0)