Software /
code /
prosody
Comparison
prosodyctl @ 5617:783078bc111c
prosodyctl: check config: whitespace fix
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 21 May 2013 13:21:12 +0100 |
parent | 5616:a79c6717ee2b |
child | 5619:6a87b75aedd5 |
comparison
equal
deleted
inserted
replaced
5616:a79c6717ee2b | 5617:783078bc111c |
---|---|
821 print(" You need to move the following option"..(n>1 and "s" or "")..": "..table.concat(it.to_array(misplaced_options), ", ")); | 821 print(" You need to move the following option"..(n>1 and "s" or "")..": "..table.concat(it.to_array(misplaced_options), ", ")); |
822 end | 822 end |
823 local subdomain = host:match("^[^.]+"); | 823 local subdomain = host:match("^[^.]+"); |
824 if not(is_component) and (subdomain == "jabber" or subdomain == "xmpp" | 824 if not(is_component) and (subdomain == "jabber" or subdomain == "xmpp" |
825 or subdomain == "chat" or subdomain == "im") then | 825 or subdomain == "chat" or subdomain == "im") then |
826 print(""); | |
826 print(" Suggestion: If "..host.. " is a new host with no real users yet, consider renaming it now to"); | 827 print(" Suggestion: If "..host.. " is a new host with no real users yet, consider renaming it now to"); |
827 print(" "..host:gsub("^[^.]+%.", "")..". You can use SRV records to redirect XMPP clients and servers to "..host.."."); | 828 print(" "..host:gsub("^[^.]+%.", "")..". You can use SRV records to redirect XMPP clients and servers to "..host.."."); |
828 print(" For more information see: http://prosody.im/doc/dns"); | 829 print(" For more information see: http://prosody.im/doc/dns"); |
829 end | 830 end |
830 end | 831 end |