diff --git a/plugins/builtin/source/content/pl_builtin_functions.cpp b/plugins/builtin/source/content/pl_builtin_functions.cpp index ab32caac5..7ab601308 100644 --- a/plugins/builtin/source/content/pl_builtin_functions.cpp +++ b/plugins/builtin/source/content/pl_builtin_functions.cpp @@ -32,7 +32,7 @@ namespace hex::plugin::builtin { pl::api::Namespace nsHexPrv = { "builtin", "hex", "prv" }; { /* get_information() */ - ContentRegistry::PatternLanguage::addFunction(nsHexCore, "get_information", FunctionParameterCount::between(1, 2), [](Evaluator *, auto params) -> std::optional { + ContentRegistry::PatternLanguage::addFunction(nsHexPrv, "get_information", FunctionParameterCount::between(1, 2), [](Evaluator *, auto params) -> std::optional { std::string category = params[0].toString(false); std::string argument = params.size() == 2 ? params[1].toString(false) : "";