Comparison

core/modulemanager.lua @ 6319:92d009af6eba

mod_s2s_auth_certs: Split PKIX based certificate checking from mod_s2s into new plugin
author Kim Alvefur <zash@zash.se>
date Fri, 25 Jul 2014 20:41:54 +0200
parent 6038:b3ceb7627e27
child 6367:769a3577dd85
comparison
equal deleted inserted replaced
6315:7a3e2f2d43fc 6319:92d009af6eba
27 local n = select("#", ...); 27 local n = select("#", ...);
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 = {prosody.platform, "presence", "message", "iq", "offline", "c2s", "s2s"}; 32 local autoload_modules = {prosody.platform, "presence", "message", "iq", "offline", "c2s", "s2s", "s2s_auth_certs"};
33 local component_inheritable_modules = {"tls", "saslauth", "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