aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-04-14 13:00:24 +0100
committerMatthew Wild <mwild1@gmail.com>2010-04-14 13:00:24 +0100
commit6d9cc727833025746953ae08357b44e62d140cf5 (patch)
treecb06feee70c6f797ef88f9959041d95c98cb1c36 /core
parent61d1f2e0481cdbaa7367bb0448200000ff77439c (diff)
downloadprosody-6d9cc727833025746953ae08357b44e62d140cf5.tar.gz
prosody-6d9cc727833025746953ae08357b44e62d140cf5.zip
hostmanager: Re-word log messages in line with config changes
Diffstat (limited to 'core')
-rw-r--r--core/hostmanager.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua
index 445291d8..b549e6f7 100644
--- a/core/hostmanager.lua
+++ b/core/hostmanager.lua
@@ -43,7 +43,7 @@ local function load_enabled_hosts(config)
end
if not activated_any_host then
- log("error", "No hosts defined in the config file. This may cause unexpected behaviour as no modules will be loaded.");
+ log("error", "No active VirtualHost entries in the config file. This may cause unexpected behaviour as no modules will be loaded.");
end
eventmanager.fire_event("hosts-activated", defined_hosts);
@@ -60,8 +60,8 @@ function activate(host, host_config)
and (configmanager.get(host, "core", "disallow_s2s") ~= false))
};
for option_name in pairs(host_config.core) do
- if option_name:match("_ports$") then
- log("warn", "%s: Option '%s' has no effect for virtual hosts - put it in global Host \"*\" instead", host, option_name);
+ if option_name:match("_ports$") or option_name:match("_interface$") then
+ log("warn", "%s: Option '%s' has no effect for virtual hosts - put it in the server-wide section instead", host, option_name);
end
end