diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-05-22 13:32:38 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-05-22 13:32:38 +0100 |
commit | 92635d491dbaf5bd5aada9a48426301c038c7635 (patch) | |
tree | 67e5ee1aade7d16734b931f74feae184b90c1a81 /prosodyctl | |
parent | 9f05b72a8efbe91a0fe7f4da001f8a96dd264c7b (diff) | |
download | prosody-92635d491dbaf5bd5aada9a48426301c038c7635.tar.gz prosody-92635d491dbaf5bd5aada9a48426301c038c7635.zip |
prosodyctl: check config: Fix check for whether host is a component
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |