aboutsummaryrefslogtreecommitdiffstats
path: root/core/configmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-09 14:34:49 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-09 14:34:49 +0100
commit455e77f21d657b34d8fa6910fb2c0c32d2ea4085 (patch)
tree78c4f70004ad82e4b7c0d3c72c15bc8146ba81f4 /core/configmanager.lua
parent8460bb4079c46e59d19152d7dcce113a25700504 (diff)
downloadprosody-455e77f21d657b34d8fa6910fb2c0c32d2ea4085.tar.gz
prosody-455e77f21d657b34d8fa6910fb2c0c32d2ea4085.zip
configmanager, modulemanager: Allow components to have modules specified in the config (but don't load the global set of modules for them)
Diffstat (limited to 'core/configmanager.lua')
-rw-r--r--core/configmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua
index 37646017..77cfd575 100644
--- a/core/configmanager.lua
+++ b/core/configmanager.lua
@@ -123,7 +123,7 @@ do
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)