Changeset

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
parents 748:172c43d735e9
children 750:fbfcf8c1c830
files core/hostmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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);