aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-09-12 05:10:44 -0300
committerNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-09-12 05:10:44 -0300
commitf23ddf4cae268f3e800935f0de890d41799c355f (patch)
treeb7ac7da9def2bf5a999da5348d341023bbc3cf83 /src/plugins
parent4222c7fd9f0bc7b23f121b78d1f33a811a10f7ad (diff)
downloadVencord-f23ddf4cae268f3e800935f0de890d41799c355f.tar.gz
Vencord-f23ddf4cae268f3e800935f0de890d41799c355f.tar.bz2
Vencord-f23ddf4cae268f3e800935f0de890d41799c355f.zip
oopsies
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fakeNitro.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fakeNitro.ts b/src/plugins/fakeNitro.ts
index 669da19..f56239f 100644
--- a/src/plugins/fakeNitro.ts
+++ b/src/plugins/fakeNitro.ts
@@ -220,7 +220,7 @@ export default definePlugin({
"(?:canStreamQuality|canStreamHighQuality|canStreamMidQuality)",
].map(func => {
return {
- match: new RegExp(`${func}:function\\(\\i(?:,\\i)?\\){`),
+ match: new RegExp(`${func}:function\\(\\i(?:,\\i)?\\){`, "g"),
replace: "$&return true;"
};
})