From 5a18292d929e35a2d848ff4e1472229d36cd0745 Mon Sep 17 00:00:00 2001
From: Rie Takahashi <megumin.bakaretsurie@gmail.com>
Date: Mon, 17 Oct 2022 21:21:01 +0100
Subject: fix(Experiments): Broken isStaff match

---
 src/plugins/experiments.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/plugins/experiments.tsx')

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 ",
             },
         ],
-- 
cgit 

