aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-09-30 11:05:26 +0100
committerMatthew Wild <mwild1@gmail.com>2009-09-30 11:05:26 +0100
commit271afa36733db02b9cace7261a16b8243505bf33 (patch)
tree2033886c207df99b98a706a2305398382cbdef40 /core
parentf9a8d01543ed2a8ed49ffcf4e9c3f24565a26bdd (diff)
downloadprosody-271afa36733db02b9cace7261a16b8243505bf33.tar.gz
prosody-271afa36733db02b9cace7261a16b8243505bf33.zip
modulemanager: Load modules for components, too
Diffstat (limited to 'core')
-rw-r--r--core/modulemanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 250551ed..a1ed8981 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -96,6 +96,7 @@ function load_modules_for_host(host)
end
end
eventmanager.add_event_hook("host-activated", load_modules_for_host);
+eventmanager.add_event_hook("component-activated", load_modules_for_host);
--
function load(host, module_name, config)