diff options
author | Kim Alvefur <zash@zash.se> | 2019-09-29 17:07:39 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-09-29 17:07:39 +0200 |
commit | 5ea3c0e75847b74ac1aa616d20a5f5886b0e768a (patch) | |
tree | 07105cb1904f1d2e70426ef9edfb43966bc8d513 | |
parent | cf99479744b47139f6329680d17e01faafb1524b (diff) | |
download | prosody-5ea3c0e75847b74ac1aa616d20a5f5886b0e768a.tar.gz prosody-5ea3c0e75847b74ac1aa616d20a5f5886b0e768a.zip |
core.modulemanager: Split lists across multiple lines for improved readability
Patches will also be easier to read.
-rw-r--r-- | core/modulemanager.lua | 20 |
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; |