Comparison

core/modulemanager.lua @ 6034:ee14da71d3fc

modulemanager: Load mod_saslauth on components by default
author Kim Alvefur <zash@zash.se>
date Sat, 22 Mar 2014 12:42:01 +0100
parent 5411:82b3ddba0ec7
child 6038:b3ceb7627e27
child 6361:f12889981ece
comparison
equal deleted inserted replaced
6033:0d6f23049e95 6034:ee14da71d3fc
28 local params = {...}; 28 local params = {...};
29 return xpcall(function() return f(unpack(params, 1, n)) end, function(e) return tostring(e).."\n"..debug_traceback(); end); 29 return xpcall(function() return f(unpack(params, 1, n)) end, function(e) return tostring(e).."\n"..debug_traceback(); end);
30 end 30 end
31 31
32 local autoload_modules = {"presence", "message", "iq", "offline", "c2s", "s2s"}; 32 local autoload_modules = {"presence", "message", "iq", "offline", "c2s", "s2s"};
33 local component_inheritable_modules = {"tls", "dialback", "iq", "s2s"}; 33 local component_inheritable_modules = {"tls", "saslauth", "dialback", "iq", "s2s"};
34 34
35 -- We need this to let modules access the real global namespace 35 -- We need this to let modules access the real global namespace
36 local _G = _G; 36 local _G = _G;
37 37
38 module "modulemanager" 38 module "modulemanager"