Software /
code /
prosody
Comparison
core/modulemanager.lua @ 1860:5ef1eea887ca
Merge
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 02 Oct 2009 17:14:54 +0500 |
parent | 1852:f9b58f37bc14 |
child | 1853:5da0e3b1f847 |
child | 1904:0aa55a5dafde |
comparison
equal
deleted
inserted
replaced
1859:c965b0accc7c | 1860:5ef1eea887ca |
---|---|
94 end | 94 end |
95 end | 95 end |
96 end | 96 end |
97 end | 97 end |
98 eventmanager.add_event_hook("host-activated", load_modules_for_host); | 98 eventmanager.add_event_hook("host-activated", load_modules_for_host); |
99 eventmanager.add_event_hook("component-activated", load_modules_for_host); | |
99 -- | 100 -- |
100 | 101 |
101 function load(host, module_name, config) | 102 function load(host, module_name, config) |
102 if not (host and module_name) then | 103 if not (host and module_name) then |
103 return nil, "insufficient-parameters"; | 104 return nil, "insufficient-parameters"; |