diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-09-30 11:05:26 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-09-30 11:05:26 +0100 |
commit | 271afa36733db02b9cace7261a16b8243505bf33 (patch) | |
tree | 2033886c207df99b98a706a2305398382cbdef40 /core | |
parent | f9a8d01543ed2a8ed49ffcf4e9c3f24565a26bdd (diff) | |
download | prosody-271afa36733db02b9cace7261a16b8243505bf33.tar.gz prosody-271afa36733db02b9cace7261a16b8243505bf33.zip |
modulemanager: Load modules for components, too
Diffstat (limited to 'core')
-rw-r--r-- | core/modulemanager.lua | 1 |
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) |