Software /
code /
prosody
Comparison
util/prosodyctl/check.lua @ 11807:f5295e59ca78
mod_register_limits: Reword some options
Remember to remove the compatibility things in some future version
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 19 Sep 2021 15:52:07 +0200 |
parent | 11801:ab0dfe9cbe69 |
child | 11826:e1c4cc5d0ef8 |
comparison
equal
deleted
inserted
replaced
11806:6f7d6712e250 | 11807:f5295e59ca78 |
---|---|
101 disallow_s2s = "add \"s2s\" to 'modules_disabled'", | 101 disallow_s2s = "add \"s2s\" to 'modules_disabled'", |
102 no_daemonize = "use the --daemonize/-D or --foreground/-F flags", | 102 no_daemonize = "use the --daemonize/-D or --foreground/-F flags", |
103 require_encryption = "use 'c2s_require_encryption' and 's2s_require_encryption'", | 103 require_encryption = "use 'c2s_require_encryption' and 's2s_require_encryption'", |
104 vcard_compatibility = "use 'mod_compat_vcard' from prosody-modules", | 104 vcard_compatibility = "use 'mod_compat_vcard' from prosody-modules", |
105 use_libevent = "use 'network_backend = \"event\"'", | 105 use_libevent = "use 'network_backend = \"event\"'", |
106 whitelist_registration_only = "use 'allowlist_registration_only'", | |
107 registration_whitelist = "use 'registration_allowlist'", | |
108 registration_blacklist = "use 'registration_blocklist'", | |
109 blacklist_on_registration_throttle_overload = "use 'blocklist_on_registration_throttle_overload'", | |
106 }; | 110 }; |
107 -- FIXME all the singular _port and _interface options are supposed to be deprecated too | 111 -- FIXME all the singular _port and _interface options are supposed to be deprecated too |
108 local deprecated_ports = { bosh = "http", legacy_ssl = "c2s_direct_tls" }; | 112 local deprecated_ports = { bosh = "http", legacy_ssl = "c2s_direct_tls" }; |
109 local port_suffixes = set.new({ "port", "ports", "interface", "interfaces", "ssl" }); | 113 local port_suffixes = set.new({ "port", "ports", "interface", "interfaces", "ssl" }); |
110 for port, replacement in pairs(deprecated_ports) do | 114 for port, replacement in pairs(deprecated_ports) do |