aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-21 14:43:52 +0200
committerKim Alvefur <zash@zash.se>2017-04-21 14:43:52 +0200
commit7be07e3ec3b95f11d1e392d7e4c65f6bf91717cf (patch)
tree13f73d638d5f96eb9f5143302b505030542bb6b0 /prosodyctl
parentef9465a7615f478d22167826dc3600d0cf3915a2 (diff)
downloadprosody-7be07e3ec3b95f11d1e392d7e4c65f6bf91717cf.tar.gz
prosody-7be07e3ec3b95f11d1e392d7e4c65f6bf91717cf.zip
prosodyctl: Normalize inconsistent whitespace [luacheck]
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl10
1 files changed, 5 insertions, 5 deletions
diff --git a/prosodyctl b/prosodyctl
index 74792c58..0827a215 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -959,11 +959,11 @@ function commands.check(arg)
end
local subdomain = host:match("^[^.]+");
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");
- print(" "..host:gsub("^[^.]+%.", "")..". You can use SRV records to redirect XMPP clients and servers to "..host..".");
- print(" For more information see: http://prosody.im/doc/dns");
+ 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");
+ print(" "..host:gsub("^[^.]+%.", "")..". You can use SRV records to redirect XMPP clients and servers to "..host..".");
+ print(" For more information see: http://prosody.im/doc/dns");
end
end
local all_modules = set.new(config["*"].modules_enabled);