aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-29 02:09:53 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-29 02:09:53 +0000
commitea5fe8c78e3831033a1f763608191cc4edf14412 (patch)
tree1e256bd7651698a9be79a5e3423903d09655cb99
parent62890f2d66883497d287cc5f273de6b6f4882d48 (diff)
downloadprosody-ea5fe8c78e3831033a1f763608191cc4edf14412.tar.gz
prosody-ea5fe8c78e3831033a1f763608191cc4edf14412.zip
hostmanager: Fire event when all hosts are loaded from config
-rw-r--r--core/hostmanager.lua1
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);