Software /
code /
prosody
Diff
core/hostmanager.lua @ 749:1359492f45d7
hostmanager: Fire event when all hosts are loaded from config
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 29 Jan 2009 02:09:53 +0000 |
parent | 575:428c951d0a33 |
child | 1095:cad4205f4925 |
line wrap: on
line diff
--- a/core/hostmanager.lua Thu Jan 29 02:01:09 2009 +0000 +++ b/core/hostmanager.lua Thu Jan 29 02:09:53 2009 +0000 @@ -17,6 +17,7 @@ activate(host, host_config); end end + eventmanager.fire_event("hosts-activated", defined_hosts); end eventmanager.add_event_hook("server-starting", load_enabled_hosts);