aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRie Takahashi <megumin.bakaretsurie@gmail.com>2022-10-17 21:21:01 +0100
committermegumin <megumin.bakaretsurie@gmail.com>2022-10-17 21:22:08 +0100
commit5a18292d929e35a2d848ff4e1472229d36cd0745 (patch)
tree963a28819bad7abb793441f1ded39c645989b72e /src
parent5625d63e46c43132676148a86739025c15fa5f2d (diff)
downloadVencord-5a18292d929e35a2d848ff4e1472229d36cd0745.tar.gz
Vencord-5a18292d929e35a2d848ff4e1472229d36cd0745.tar.bz2
Vencord-5a18292d929e35a2d848ff4e1472229d36cd0745.zip
fix(Experiments): Broken isStaff match
Diffstat (limited to 'src')
-rw-r--r--src/plugins/experiments.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/experiments.tsx b/src/plugins/experiments.tsx
index 4cc2167..dde08a4 100644
--- a/src/plugins/experiments.tsx
+++ b/src/plugins/experiments.tsx
@@ -37,7 +37,7 @@ export default definePlugin({
replace: "return Vencord.Webpack.Common.UserStore.getCurrentUser().id===$1.id||$1.hasFlag($2.STAFF)}"
},
{
- match: /hasFreePremium=function\(\){return this.is Staff\(\)\s*\|\|/,
+ match: /hasFreePremium=function\(\){return this.isStaff\(\)\s*\|\|/,
replace: "hasFreePremium=function(){return ",
},
],