Fix FakeNitro sticker bypass (#1964)
This commit is contained in:
parent
c0f786804a
commit
dc3591ba18
1 changed files with 2 additions and 2 deletions
|
@ -206,10 +206,10 @@ export default definePlugin({
|
|||
},
|
||||
// Allow stickers to be sent everywhere
|
||||
{
|
||||
find: "canUseStickersEverywhere:function",
|
||||
find: "canUseCustomStickersEverywhere:function",
|
||||
predicate: () => settings.store.enableStickerBypass,
|
||||
replacement: {
|
||||
match: /canUseStickersEverywhere:function\(\i\){/,
|
||||
match: /canUseCustomStickersEverywhere:function\(\i\){/,
|
||||
replace: "$&return true;"
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue