Software /
code /
prosody
Comparison
core/modulemanager.lua @ 3677:dad563ed54aa
modulemanager: Allow components to inherit mod_iq. This allows modules loaded on components to hook IQ stanza sub-events ("iq-set/bare/xmlns:tag", etc).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 02 Dec 2010 16:32:42 +0500 |
parent | 3623:6f4db418a9cc |
child | 3758:41f174b61b6a |
comparison
equal
deleted
inserted
replaced
3676:13a1d90b4e1c | 3677:dad563ed54aa |
---|---|
38 end | 38 end |
39 | 39 |
40 local array, set = require "util.array", require "util.set"; | 40 local array, set = require "util.array", require "util.set"; |
41 | 41 |
42 local autoload_modules = {"presence", "message", "iq"}; | 42 local autoload_modules = {"presence", "message", "iq"}; |
43 local component_inheritable_modules = {"tls", "dialback"}; | 43 local component_inheritable_modules = {"tls", "dialback", "iq"}; |
44 | 44 |
45 -- We need this to let modules access the real global namespace | 45 -- We need this to let modules access the real global namespace |
46 local _G = _G; | 46 local _G = _G; |
47 | 47 |
48 module "modulemanager" | 48 module "modulemanager" |