modulemanager: Load modules for components, too

Wed, 30 Sep 2009 11:05:26 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 30 Sep 2009 11:05:26 +0100
changeset 1852
f9b58f37bc14
parent 1851
0a4d4ba01db8
child 1853
5da0e3b1f847
child 1860
5ef1eea887ca

modulemanager: Load modules for components, too

core/modulemanager.lua file | annotate | diff | comparison | revisions
--- a/core/modulemanager.lua	Wed Sep 30 11:05:01 2009 +0100
+++ b/core/modulemanager.lua	Wed Sep 30 11:05:26 2009 +0100
@@ -96,6 +96,7 @@
 	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)

mercurial