Software /
code /
prosody
Changeset
10288:f36f7d2c269b
core.modulemanager: Split lists across multiple lines for improved readability
Patches will also be easier to read.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 29 Sep 2019 17:07:39 +0200 |
parents | 10287:a1c0395a59ae |
children | 10289:8c59b20f71dc |
files | core/modulemanager.lua |
diffstat | 1 files changed, 18 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/core/modulemanager.lua Sun Sep 29 16:22:05 2019 +0200 +++ b/core/modulemanager.lua Sun Sep 29 17:07:39 2019 +0200 @@ -23,8 +23,24 @@ 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;