diff options
author | Rie Takahashi <megumin.bakaretsurie@gmail.com> | 2022-10-17 21:21:01 +0100 |
---|---|---|
committer | megumin <megumin.bakaretsurie@gmail.com> | 2022-10-17 21:22:08 +0100 |
commit | 5a18292d929e35a2d848ff4e1472229d36cd0745 (patch) | |
tree | 963a28819bad7abb793441f1ded39c645989b72e | |
parent | 5625d63e46c43132676148a86739025c15fa5f2d (diff) | |
download | Vencord-5a18292d929e35a2d848ff4e1472229d36cd0745.tar.gz Vencord-5a18292d929e35a2d848ff4e1472229d36cd0745.tar.bz2 Vencord-5a18292d929e35a2d848ff4e1472229d36cd0745.zip |
fix(Experiments): Broken isStaff match
-rw-r--r-- | src/plugins/experiments.tsx | 2 |
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 ", }, ], |