# HG changeset patch # User Matthew Wild # Date 1369225958 -3600 # Node ID 6a87b75aedd5a12d0c27779b955e5474b3540025 # Parent 4fd2708fe8dff190b4408b760fc8dcc084fdd93e prosodyctl: check config: Fix check for whether host is a component diff -r 4fd2708fe8df -r 6a87b75aedd5 prosodyctl --- a/prosodyctl Tue May 21 13:21:30 2013 +0100 +++ b/prosodyctl Wed May 22 13:32:38 2013 +0100 @@ -821,7 +821,7 @@ print(" You need to move the following option"..(n>1 and "s" or "")..": "..table.concat(it.to_array(misplaced_options), ", ")); end local subdomain = host:match("^[^.]+"); - if not(is_component) and (subdomain == "jabber" or subdomain == "xmpp" + if not(host_options:contains("component_module")) and (subdomain == "jabber" or subdomain == "xmpp" or subdomain == "chat" or subdomain == "im") then print(""); print(" Suggestion: If "..host.. " is a new host with no real users yet, consider renaming it now to");