aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/webpack.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-02 02:51:10 +0200
committerVendicated <vendicated@riseup.net>2022-10-02 02:51:10 +0200
commitacd24cdc4f4cb65f2c94c3a356c541f414935c0a (patch)
treee364ca169a635e0477b75a7f60d7c25de8c9be9f /src/webpack/webpack.ts
parentf31fd75efcf6971048c0111860be5c25de925075 (diff)
parentacf06203b6ab5129adc4bf09c7014d888f15944b (diff)
downloadVencord-acd24cdc4f4cb65f2c94c3a356c541f414935c0a.tar.gz
Vencord-acd24cdc4f4cb65f2c94c3a356c541f414935c0a.tar.bz2
Vencord-acd24cdc4f4cb65f2c94c3a356c541f414935c0a.zip
Merge branch 'main' of github.com:Vendicated/Vencord
Diffstat (limited to 'src/webpack/webpack.ts')
-rw-r--r--src/webpack/webpack.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts
index 9be576a..15104bb 100644
--- a/src/webpack/webpack.ts
+++ b/src/webpack/webpack.ts
@@ -135,7 +135,7 @@ export function search(...filters: Array<string | RegExp>) {
const factories = wreq.m;
outer:
for (const id in factories) {
- const factory = factories[id];
+ const factory = factories[id].original ?? factories[id];
const str: string = factory.toString();
for (const filter of filters) {
if (typeof filter === "string" && !str.includes(filter)) continue outer;