aboutsummaryrefslogtreecommitdiffstats
path: root/core/configmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/configmanager.lua')
-rw-r--r--core/configmanager.lua3
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