Fix NSFWGateBypass possibly Vencord
This commit is contained in:
parent
686f2d925f
commit
109d842e29
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ export default definePlugin({
|
|||
{
|
||||
find: ".nsfwAllowed=null",
|
||||
replacement: {
|
||||
match: /(\w+)\.nsfwAllowed=/,
|
||||
replace: "$1.nsfwAllowed=true;",
|
||||
match: /(?<=\.nsfwAllowed=)null!==.+?(?=[,;])/,
|
||||
replace: "!0",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue