aboutsummaryrefslogtreecommitdiff
path: root/src/webpack
diff options
context:
space:
mode:
authorbotato <63275405+botatooo@users.noreply.github.com>2022-10-01 16:05:15 -0700
committerGitHub <noreply@github.com>2022-10-02 01:05:15 +0200
commitacf06203b6ab5129adc4bf09c7014d888f15944b (patch)
tree92418611528d082cdcf76e63b818c773f27f3b12 /src/webpack
parent57d586fab73814a3778303c7a78c55c785e62af0 (diff)
downloadVencord-acf06203b6ab5129adc4bf09c7014d888f15944b.tar.gz
Vencord-acf06203b6ab5129adc4bf09c7014d888f15944b.tar.bz2
Vencord-acf06203b6ab5129adc4bf09c7014d888f15944b.zip
some tweaks (#22)
Diffstat (limited to 'src/webpack')
-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;