diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-21 14:43:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-21 14:43:52 +0200 |
commit | c89f88fd5484334093692f4268be3d1358bf1dfa (patch) | |
tree | 13f73d638d5f96eb9f5143302b505030542bb6b0 /prosodyctl | |
parent | 31c0689963768851472a6d2d82328a9a63725a77 (diff) | |
download | prosody-c89f88fd5484334093692f4268be3d1358bf1dfa.tar.gz prosody-c89f88fd5484334093692f4268be3d1358bf1dfa.zip |
prosodyctl: Normalize inconsistent whitespace [luacheck]
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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); |