aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-21 15:59:19 +0100
committerVendicated <vendicated@riseup.net>2022-11-21 15:59:19 +0100
commit0a92bd6521da3159618f08172530f4777902158b (patch)
tree8c8b30c0a81d7e922c327951ce2ec186d43a60a4 /src
parent33c33eb0fd293c5efc75624862110181b012350c (diff)
downloadVencord-0a92bd6521da3159618f08172530f4777902158b.tar.gz
Vencord-0a92bd6521da3159618f08172530f4777902158b.tar.bz2
Vencord-0a92bd6521da3159618f08172530f4777902158b.zip
PlatformIndicators: Fix server list
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platformIndicators.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platformIndicators.tsx b/src/plugins/platformIndicators.tsx
index d8f69a6..870cd38 100644
--- a/src/plugins/platformIndicators.tsx
+++ b/src/plugins/platformIndicators.tsx
@@ -97,7 +97,7 @@ export default definePlugin({
// Server member list decorators
find: "this.renderPremium()",
replacement: {
- match: /this.renderPremium\(\).+?\]/,
+ match: /this.renderPremium\(\)[^\]]*?\]/,
replace: "$&.concat(Vencord.Plugins.plugins.PlatformIndicators.renderPlatformIndicators(this.props))"
}
},