aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-22 13:32:38 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-22 13:32:38 +0100
commite6533b846352a28dd37578f1e366d8d61cd11622 (patch)
tree67e5ee1aade7d16734b931f74feae184b90c1a81 /prosodyctl
parente09c12782cfe310c0456b758ea879ff7cb0af565 (diff)
downloadprosody-e6533b846352a28dd37578f1e366d8d61cd11622.tar.gz
prosody-e6533b846352a28dd37578f1e366d8d61cd11622.zip
prosodyctl: check config: Fix check for whether host is a component
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 5441b2b3..c0f5dd92 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -821,7 +821,7 @@ function commands.check(arg)
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");