mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 22:57:38 +03:00
prosodyctl: Normalize inconsistent whitespace [luacheck]
This commit is contained in:
parent
31c0689963
commit
c89f88fd54
1 changed files with 5 additions and 5 deletions
10
prosodyctl
10
prosodyctl
|
@ -959,11 +959,11 @@ function commands.check(arg)
|
||||||
end
|
end
|
||||||
local subdomain = host:match("^[^.]+");
|
local subdomain = host:match("^[^.]+");
|
||||||
if not(host_options:contains("component_module")) 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
|
or subdomain == "chat" or subdomain == "im") then
|
||||||
print("");
|
print("");
|
||||||
print(" Suggestion: If "..host.. " is a new host with no real users yet, consider renaming it now to");
|
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(" "..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");
|
print(" For more information see: http://prosody.im/doc/dns");
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local all_modules = set.new(config["*"].modules_enabled);
|
local all_modules = set.new(config["*"].modules_enabled);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue