Software /
code /
prosody
Diff
core/hostmanager.lua @ 2985:fde53d82fde0
Merge 0.7->trunk (with MUC needing checking, waqas)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 04 May 2010 23:36:50 +0100 |
parent | 2984:3094166cfdd5 |
child | 3434:428f13c098d5 |
line wrap: on
line diff
--- a/core/hostmanager.lua Tue May 04 23:11:41 2010 +0100 +++ b/core/hostmanager.lua Tue May 04 23:36:50 2010 +0100 @@ -42,7 +42,7 @@ 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 @@ dialback_secret = configmanager.get(host, "core", "dialback_secret") or uuid_gen(); }; 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