# HG changeset patch # User Kim Alvefur # Date 1492778632 -7200 # Node ID 2f214c4db1700436d3162f46373aeb0787a69458 # Parent 939ccedb509da011e27548befcdef3b43944c798 prosodyctl: Normalize inconsistent whitespace [luacheck] diff -r 939ccedb509d -r 2f214c4db170 prosodyctl --- a/prosodyctl Fri Apr 21 14:34:53 2017 +0200 +++ b/prosodyctl Fri Apr 21 14:43:52 2017 +0200 @@ -959,11 +959,11 @@ 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);