diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-29 02:09:53 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-29 02:09:53 +0000 |
commit | ea5fe8c78e3831033a1f763608191cc4edf14412 (patch) | |
tree | 1e256bd7651698a9be79a5e3423903d09655cb99 /core/hostmanager.lua | |
parent | 62890f2d66883497d287cc5f273de6b6f4882d48 (diff) | |
download | prosody-ea5fe8c78e3831033a1f763608191cc4edf14412.tar.gz prosody-ea5fe8c78e3831033a1f763608191cc4edf14412.zip |
hostmanager: Fire event when all hosts are loaded from config
Diffstat (limited to 'core/hostmanager.lua')
-rw-r--r-- | core/hostmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua index 64bb13f7..1fec9799 100644 --- a/core/hostmanager.lua +++ b/core/hostmanager.lua @@ -17,6 +17,7 @@ local function load_enabled_hosts(config) activate(host, host_config); end end + eventmanager.fire_event("hosts-activated", defined_hosts); end eventmanager.add_event_hook("server-starting", load_enabled_hosts); |