aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/experiments.tsx
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-20 11:58:20 +0200
committerVendicated <vendicated@riseup.net>2022-10-20 11:58:20 +0200
commit36f4478a4f10cb1e8f7b33ebb5d097dd028b9399 (patch)
treeb6c9268cf4c25017e8244065e0ffd1416a809044 /src/plugins/experiments.tsx
parent350e7b0a6a2f19728a1839dc7db85717af3399d8 (diff)
downloadVencord-36f4478a4f10cb1e8f7b33ebb5d097dd028b9399.tar.gz
Vencord-36f4478a4f10cb1e8f7b33ebb5d097dd028b9399.tar.bz2
Vencord-36f4478a4f10cb1e8f7b33ebb5d097dd028b9399.zip
more eslint
Diffstat (limited to 'src/plugins/experiments.tsx')
-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 dde08a4..0b23aff 100644
--- a/src/plugins/experiments.tsx
+++ b/src/plugins/experiments.tsx
@@ -30,7 +30,7 @@ export default definePlugin({
},
}, {
find: ".isStaff=function(){",
- predicate: () => Settings.plugins["Experiments"].enableIsStaff === true,
+ predicate: () => Settings.plugins.Experiments.enableIsStaff === true,
replacement: [
{
match: /return\s*(\w+)\.hasFlag\((.+?)\.STAFF\)}/,