Software /
code /
prosody
Comparison
core/modulemanager.lua @ 4745:d5b1a7531693
modulemanager: Remove unused NULL declaration
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 02:18:17 +0100 |
parent | 4733:791388f90156 |
child | 4746:37020f4b6799 |
comparison
equal
deleted
inserted
replaced
4744:3be37768720d | 4745:d5b1a7531693 |
---|---|
44 | 44 |
45 local api = _G.require "core.moduleapi"; -- Module API container | 45 local api = _G.require "core.moduleapi"; -- Module API container |
46 | 46 |
47 -- [host] = { [module] = module_env } | 47 -- [host] = { [module] = module_env } |
48 local modulemap = { ["*"] = {} }; | 48 local modulemap = { ["*"] = {} }; |
49 | |
50 local NULL = {}; | |
51 | 49 |
52 -- Load modules when a host is activated | 50 -- Load modules when a host is activated |
53 function load_modules_for_host(host) | 51 function load_modules_for_host(host) |
54 local component = config.get(host, "core", "component_module"); | 52 local component = config.get(host, "core", "component_module"); |
55 | 53 |