Software /
code /
prosody
Diff
core/configmanager.lua @ 12083:ec21e379c145
configmanager: Update error message to say 'VirtualHost' instead of 'Host'
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 20 Dec 2021 20:46:24 +0000 |
parent | 10375:3d0adbc74c39 |
child | 12440:1ef893715311 |
line wrap: on
line diff
--- a/core/configmanager.lua Mon Dec 20 15:39:26 2021 +0000 +++ b/core/configmanager.lua Mon Dec 20 20:46:24 2021 +0000 @@ -173,7 +173,7 @@ name = prepped_name; 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", + error(format("Component %q clashes with previously defined VirtualHost %q, for services use a sub-domain like conference.%s", name, name, name), 0); end set(config_table, name, "component_module", "component");