aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-01-26 21:16:24 +0100
committerKim Alvefur <zash@zash.se>2014-01-26 21:16:24 +0100
commit2f267b95431cd14696703b2913c1530899aff990 (patch)
treea4f7cce926a2c896837d66d4d4106eae842f3fd6 /core/modulemanager.lua
parent860aaf011188369fdf628f9edb736323fac1ea68 (diff)
downloadprosody-2f267b95431cd14696703b2913c1530899aff990.tar.gz
prosody-2f267b95431cd14696703b2913c1530899aff990.zip
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 2ad2fc17..2e488fd5 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -29,7 +29,7 @@ pcall = function(f, ...)
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