36 -- We need this to let modules access the real global namespace |
36 -- We need this to let modules access the real global namespace |
37 local _G = _G; |
37 local _G = _G; |
38 |
38 |
39 module "modulemanager" |
39 module "modulemanager" |
40 |
40 |
41 local api = {}; -- Module API container |
41 api = {}; |
|
42 local api = api; -- Module API container |
42 |
43 |
43 local modulemap = { ["*"] = {} }; |
44 local modulemap = { ["*"] = {} }; |
44 |
45 |
45 local stanza_handlers = multitable_new(); |
46 local stanza_handlers = multitable_new(); |
46 local handler_info = {}; |
47 local handler_info = {}; |