aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/settings.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-09-15 18:03:48 +0200
committerVendicated <vendicated@riseup.net>2022-09-15 18:03:48 +0200
commitb1d3f5e52fc7592907a3a18d5bce3f3b785e4985 (patch)
treef6ebec82a116d1ec452e3e1c751f0d8acadb5ac5 /src/plugins/settings.ts
parent5b2b91ed0d3ceac914c0dbb56905b87e12657c7a (diff)
downloadVencord-b1d3f5e52fc7592907a3a18d5bce3f3b785e4985.tar.gz
Vencord-b1d3f5e52fc7592907a3a18d5bce3f3b785e4985.tar.bz2
Vencord-b1d3f5e52fc7592907a3a18d5bce3f3b785e4985.zip
Fix settings patch
Diffstat (limited to 'src/plugins/settings.ts')
-rw-r--r--src/plugins/settings.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/settings.ts b/src/plugins/settings.ts
index 63c36d6..fe125e7 100644
--- a/src/plugins/settings.ts
+++ b/src/plugins/settings.ts
@@ -16,7 +16,7 @@ export default definePlugin({
}
},
{
- match: /\w\.createElement.+?["']Host ["'].+?\):null/,
+ match: /\w\.createElement.+?["']Host ["'].+?\):null/s,
replace: m => {
const idx = m.indexOf("Host") - 1;
const template = m.slice(0, idx);