Comparison

core/modulemanager.lua @ 1853:5da0e3b1f847

Merge with 0.5
author Matthew Wild <mwild1@gmail.com>
date Wed, 30 Sep 2009 11:06:02 +0100
parent 1733:d55ee6c66910
parent 1852:f9b58f37bc14
child 1908:27c1c6e6c583
comparison
equal deleted inserted replaced
1847:1842da566c7d 1853:5da0e3b1f847
89 end 89 end
90 end 90 end
91 end 91 end
92 end 92 end
93 eventmanager.add_event_hook("host-activated", load_modules_for_host); 93 eventmanager.add_event_hook("host-activated", load_modules_for_host);
94 eventmanager.add_event_hook("component-activated", load_modules_for_host);
94 -- 95 --
95 96
96 function load(host, module_name, config) 97 function load(host, module_name, config)
97 if not (host and module_name) then 98 if not (host and module_name) then
98 return nil, "insufficient-parameters"; 99 return nil, "insufficient-parameters";