diff options
author | Vendicated <vendicated@riseup.net> | 2022-09-15 18:03:48 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-09-15 18:03:48 +0200 |
commit | b1d3f5e52fc7592907a3a18d5bce3f3b785e4985 (patch) | |
tree | f6ebec82a116d1ec452e3e1c751f0d8acadb5ac5 /src/plugins/settings.ts | |
parent | 5b2b91ed0d3ceac914c0dbb56905b87e12657c7a (diff) | |
download | Vencord-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.ts | 2 |
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); |