diff --git a/src/lib/plugins.ts b/src/lib/plugins.ts index 3749e55..3891363 100644 --- a/src/lib/plugins.ts +++ b/src/lib/plugins.ts @@ -68,7 +68,7 @@ export async function evalPlugin(plugin: Plugin) { const raw = (0, eval)(pluginString)(vendettaForPlugins); const ret = typeof raw == "function" ? raw() : raw; - return ret?.default || ret; + return ret?.default ?? ret ?? {}; } export async function startPlugin(id: string) {