Software /
code /
prosody
Diff
core/configmanager.lua @ 1504:9d8c35e98ca2
configmanager, modulemanager: Allow components to have modules specified in the config (but don't load the global set of modules for them)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 09 Jul 2009 14:34:49 +0100 |
parent | 1000:a73715a9267f |
child | 1523:841d61be198f |
line wrap: on
line diff
--- a/core/configmanager.lua Thu Jul 09 04:37:08 2009 +0100 +++ b/core/configmanager.lua Thu Jul 09 14:34:49 2009 +0100 @@ -123,7 +123,7 @@ function env.Component(name) set(name, "core", "component_module", "component"); -- Don't load the global modules by default - set(name, "core", "modules_enable", false); + set(name, "core", "load_global_modules", false); rawset(env, "__currenthost", name); return function (module)