diff -r e20f90743863 -r ba2a92230b77 core/hostmanager.lua --- a/core/hostmanager.lua Tue Jul 28 05:33:51 2009 +0500 +++ b/core/hostmanager.lua Tue Jul 28 19:17:09 2009 +0100 @@ -41,6 +41,11 @@ or (configmanager.get(host, "core", "anonymous_login") 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); + end + end log((hosts_loaded_once and "info") or "debug", "Activated host: %s", host); eventmanager.fire_event("host-activated", host, host_config); end