Comparison

core/modulemanager.lua @ 4883:b798d59919b1

modulemanager: Components should inherit mod_s2s from global modules_enabled too
author Matthew Wild <mwild1@gmail.com>
date Wed, 16 May 2012 20:30:53 +0100
parent 4853:4ca9328e37d5
child 4893:98ff89ab5d1d
comparison
equal deleted inserted replaced
4882:0978ada808cc 4883:b798d59919b1
27 end 27 end
28 28
29 local set = require "util.set"; 29 local set = require "util.set";
30 30
31 local autoload_modules = {"presence", "message", "iq", "offline", "c2s", "s2s"}; 31 local autoload_modules = {"presence", "message", "iq", "offline", "c2s", "s2s"};
32 local component_inheritable_modules = {"tls", "dialback", "iq"}; 32 local component_inheritable_modules = {"tls", "dialback", "iq", "s2s"};
33 33
34 -- We need this to let modules access the real global namespace 34 -- We need this to let modules access the real global namespace
35 local _G = _G; 35 local _G = _G;
36 36
37 module "modulemanager" 37 module "modulemanager"