Software /
code /
prosody
Diff
core/modulemanager.lua @ 6003:28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Jan 2014 21:16:24 +0100 |
parent | 5776:bd0ff8ae98a8 |
child | 6038:b3ceb7627e27 |
line wrap: on
line diff
--- a/core/modulemanager.lua Sun Jan 26 18:35:03 2014 +0100 +++ b/core/modulemanager.lua Sun Jan 26 21:16:24 2014 +0100 @@ -29,7 +29,7 @@ return xpcall(function() return f(unpack(params, 1, n)) end, function(e) return tostring(e).."\n"..debug_traceback(); end); end -local autoload_modules = {"presence", "message", "iq", "offline", "c2s", "s2s"}; +local autoload_modules = {prosody.platform, "presence", "message", "iq", "offline", "c2s", "s2s"}; local component_inheritable_modules = {"tls", "dialback", "iq", "s2s"}; -- We need this to let modules access the real global namespace