diff core/modulemanager.lua @ 1852:f9b58f37bc14

modulemanager: Load modules for components, too
author Matthew Wild <mwild1@gmail.com>
date Wed, 30 Sep 2009 11:05:26 +0100
parents f4170bc82969
children 5da0e3b1f847 0aa55a5dafde
line wrap: on
line diff
--- 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)