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 | 2ad505a81f7dbb9be487fd51481d4d82120c26e3 (patch) | |
tree | 07105cb1904f1d2e70426ef9edfb43966bc8d513 /core/modulemanager.lua | |
parent | 213edf5203123371b0a9fe0efe3606ec6f9575c2 (diff) | |
download | prosody-2ad505a81f7dbb9be487fd51481d4d82120c26e3.tar.gz prosody-2ad505a81f7dbb9be487fd51481d4d82120c26e3.zip |
core.modulemanager: Split lists across multiple lines for improved readability
Patches will also be easier to read.
Diffstat (limited to 'core/modulemanager.lua')
-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; |