1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +00:00

Fix iLoveSpam

This commit is contained in:
Vendicated 2023-10-26 00:29:03 +02:00 committed by Luna
parent 0edf279fc1
commit 9ac7f93c8a

View file

@ -25,10 +25,10 @@ export default definePlugin({
authors: [Devs.botato, Devs.Animal],
patches: [
{
find: "),{hasFlag:",
find: "hasFlag:{writable",
replacement: {
match: /(if\((.{1,2})<=1<<30\)return)/,
replace: "if($2===(1<<20)){return false};$1",
match: /if\((\i)<=(?:1<<30|1073741824)\)return/,
replace: "if($1===(1<<20))return false;$&",
},
},
],