Fix iLoveSpam
This commit is contained in:
parent
45fa4f89c6
commit
1502024440
@ -25,10 +25,10 @@ export default definePlugin({
|
|||||||
authors: [Devs.botato, Devs.Animal],
|
authors: [Devs.botato, Devs.Animal],
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: "),{hasFlag:",
|
find: "hasFlag:{writable",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(if\((.{1,2})<=1<<30\)return)/,
|
match: /if\((\i)<=(?:1<<30|1073741824)\)return/,
|
||||||
replace: "if($2===(1<<20)){return false};$1",
|
replace: "if($1===(1<<20))return false;$&",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user