[PR #12153] [CLOSED] Fix missing quotes around %GameFilterChoice% in if statement #325

Closed
opened 2026-07-19 00:44:08 +03:00 by mirror-bot · 0 comments

📋 Pull Request Information

Original PR: https://github.com/Flowseal/zapret-discord-youtube/pull/12153
Author: @k38f
Created: 4/18/2026
Status: ❌ Closed

Base: main ← Head: fix/game-filter-choice-quotes


📝 Commits (1)

  • 2349f81 Fix missing quotes around %GameFilterChoice% in if statement

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 service.bat (+1 -1)

📄 Description

service.bat:754

if %GameFilterChoice%=="" set "GameFilterChoice=0"

If the variable were ever empty, cmd would throw a syntax error
because =="" has no left operand. Currently unreachable since
the default is set right above (set "GameFilterChoice=0"), but
the line is still syntactically wrong.

Fixed:

if "%GameFilterChoice%"=="" set "GameFilterChoice=0"

Partially addresses #12133 (missing quotes issue).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Flowseal/zapret-discord-youtube/pull/12153 **Author:** [@k38f](https://github.com/k38f) **Created:** 4/18/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/game-filter-choice-quotes` --- ### 📝 Commits (1) - [`2349f81`](https://github.com/Flowseal/zapret-discord-youtube/commit/2349f81b06755379b5033b237780b7f58a046d89) Fix missing quotes around %GameFilterChoice% in if statement ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `service.bat` (+1 -1) </details> ### 📄 Description `service.bat:754` ```bat if %GameFilterChoice%=="" set "GameFilterChoice=0" ``` If the variable were ever empty, cmd would throw a syntax error because `==""` has no left operand. Currently unreachable since the default is set right above (`set "GameFilterChoice=0"`), but the line is still syntactically wrong. Fixed: ```bat if "%GameFilterChoice%"=="" set "GameFilterChoice=0" ``` Partially addresses #12133 (missing quotes issue). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror-bot added the pull-request label 2026-07-19 00:44:08 +03:00
mirror-bot changed title from [PR #12153] [CLOSED] Fix missing quotes around %GameFilterChoice% in if statement to [PR #12153] Fix missing quotes around %GameFilterChoice% in if statement 2026-07-20 04:26:06 +03:00
mirror-bot changed title from [PR #12153] Fix missing quotes around %GameFilterChoice% in if statement to [PR #12153] [CLOSED] Fix missing quotes around %GameFilterChoice% in if statement 2026-07-20 23:20:35 +03:00
mirror-bot changed title from [PR #12153] [CLOSED] Fix missing quotes around %GameFilterChoice% in if statement to [PR #12153] Fix missing quotes around %GameFilterChoice% in if statement 2026-08-18 22:08:39 +03:00
mirror-bot changed title from [PR #12153] Fix missing quotes around %GameFilterChoice% in if statement to [PR #12153] [CLOSED] Fix missing quotes around %GameFilterChoice% in if statement 2026-08-19 05:20:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Utilities/zapret-discord-youtube#325