diff options
-rw-r--r-- | core/modulemanager.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 383b9d37..465b9dd8 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -408,6 +408,14 @@ function api:get_host_items(key) end end end + for mod_name, module in pairs(modulemap["*"]) do + module = module.module; + if module.items then + for _, item in ipairs(module.items[key] or NULL) do + t_insert(result, item); + end + end + end return result; end |