Software / code / prosody
Comparison
prosodyctl @ 6957:e442016918a9
prosodyctl check: Include global options when checking "all options"
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 03 Dec 2015 15:51:22 +0100 |
| parent | 6914:5df76208e050 |
| child | 6958:ebac87d80ef4 |
comparison
equal
deleted
inserted
replaced
| 6951:99de8f30d99e | 6957:e442016918a9 |
|---|---|
| 911 print(" Suggestion: If "..host.. " is a new host with no real users yet, consider renaming it now to"); | 911 print(" Suggestion: If "..host.. " is a new host with no real users yet, consider renaming it now to"); |
| 912 print(" "..host:gsub("^[^.]+%.", "")..". You can use SRV records to redirect XMPP clients and servers to "..host.."."); | 912 print(" "..host:gsub("^[^.]+%.", "")..". You can use SRV records to redirect XMPP clients and servers to "..host.."."); |
| 913 print(" For more information see: http://prosody.im/doc/dns"); | 913 print(" For more information see: http://prosody.im/doc/dns"); |
| 914 end | 914 end |
| 915 end | 915 end |
| 916 local all_options = set.new(); | 916 local all_options = set.new(it.to_array(it.keys(config["*"]))); |
| 917 for host in enabled_hosts() do | 917 for host in enabled_hosts() do |
| 918 all_options:include(set.new(it.to_array(it.keys(config[host])))); | 918 all_options:include(set.new(it.to_array(it.keys(config[host])))); |
| 919 end | 919 end |
| 920 local ssl = nil, dependencies.softreq"ssl"; | 920 local ssl = nil, dependencies.softreq"ssl"; |
| 921 if not ssl then | 921 if not ssl then |