diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-04 17:49:48 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-04 17:49:48 +0100 |
commit | 1ecc3a7918024a07c2b9f38d274584683e7c3218 (patch) | |
tree | 91aa73ddb7089baef93b2e47966f53c5c945ed52 /core/configmanager.lua | |
parent | 140c6de0260c404abebb860705a81ed7398c7c52 (diff) | |
download | prosody-1ecc3a7918024a07c2b9f38d274584683e7c3218.tar.gz prosody-1ecc3a7918024a07c2b9f38d274584683e7c3218.zip |
core: Split some very long lines [luacheck]
Diffstat (limited to 'core/configmanager.lua')
-rw-r--r-- | core/configmanager.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua index 16d4b8e2..5a544375 100644 --- a/core/configmanager.lua +++ b/core/configmanager.lua @@ -158,7 +158,8 @@ do function env.Component(name) name = nameprep(name); - if rawget(config_table, name) and rawget(config_table[name], "defined") and not rawget(config_table[name], "component_module") then + if rawget(config_table, name) and rawget(config_table[name], "defined") + and not rawget(config_table[name], "component_module") then error(format("Component %q clashes with previously defined Host %q, for services use a sub-domain like conference.%s", name, name, name), 0); end |