aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-09-29 17:07:39 +0200
committerKim Alvefur <zash@zash.se>2019-09-29 17:07:39 +0200
commit5ea3c0e75847b74ac1aa616d20a5f5886b0e768a (patch)
tree07105cb1904f1d2e70426ef9edfb43966bc8d513 /core
parentcf99479744b47139f6329680d17e01faafb1524b (diff)
downloadprosody-5ea3c0e75847b74ac1aa616d20a5f5886b0e768a.tar.gz
prosody-5ea3c0e75847b74ac1aa616d20a5f5886b0e768a.zip
core.modulemanager: Split lists across multiple lines for improved readability
Patches will also be easier to read.
Diffstat (limited to 'core')
-rw-r--r--core/modulemanager.lua20
1 files changed, 18 insertions, 2 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index df6ae787..5a45d6b6 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -23,8 +23,24 @@ local debug_traceback = debug.traceback;
local setmetatable, rawget = setmetatable, rawget;
local ipairs, pairs, type, t_insert = ipairs, pairs, type, table.insert;
-local autoload_modules = {prosody.platform, "presence", "message", "iq", "offline", "c2s", "s2s", "s2s_auth_certs"};
-local component_inheritable_modules = {"tls", "saslauth", "dialback", "iq", "s2s", "s2s_bidi"};
+local autoload_modules = {
+ prosody.platform,
+ "presence",
+ "message",
+ "iq",
+ "offline",
+ "c2s",
+ "s2s",
+ "s2s_auth_certs",
+};
+local component_inheritable_modules = {
+ "tls",
+ "saslauth",
+ "dialback",
+ "iq",
+ "s2s",
+ "s2s_bidi",
+};
-- We need this to let modules access the real global namespace
local _G = _G;