mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-22 22:52:03 +00:00
hooks: default hooks.internal.enabled to true so bundled hooks load on fresh installs
Made-with: Cursor
This commit is contained in:
committed by
Ayaan Zaidi
parent
3886b65ef2
commit
f849b8de97
@@ -375,7 +375,7 @@ export function createPluginRegistry(registryParams: PluginRegistryParams) {
|
||||
source: record.source,
|
||||
});
|
||||
|
||||
const hookSystemEnabled = config?.hooks?.internal?.enabled === true;
|
||||
const hookSystemEnabled = config?.hooks?.internal?.enabled !== false;
|
||||
if (!hookSystemEnabled || opts?.register === false) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user