mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-11 02:16:23 +00:00
Fix NSFWGateBypass possibly Vencord
This commit is contained in:
parent
9cb3dd76b2
commit
0b2f3298ea
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".nsfwAllowed=null",
|
find: ".nsfwAllowed=null",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(\w+)\.nsfwAllowed=/,
|
match: /(?<=\.nsfwAllowed=)null!==.+?(?=[,;])/,
|
||||||
replace: "$1.nsfwAllowed=true;",
|
replace: "!0",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue