diff options
author | Kim Alvefur <zash@zash.se> | 2023-08-27 15:46:19 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-08-27 15:46:19 +0200 |
commit | da3d755a15e4f5659e8ce50feb7fc4daceed2df4 (patch) | |
tree | b119adfb0072adf0c6725840823342f9b2b75636 | |
parent | 0fa9d6be37147d8815e7877d1cb63842518c1416 (diff) | |
download | prosody-da3d755a15e4f5659e8ce50feb7fc4daceed2df4.tar.gz prosody-da3d755a15e4f5659e8ce50feb7fc4daceed2df4.zip |
util.prosodyctl.check: Correct modern replacement for 'disallow_s2s'0.12.4
The code would have suggested adding to modules_enabled instead of
modules_disabled
-rw-r--r-- | util/prosodyctl/check.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index dcffb88a..5de8e3a6 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -369,7 +369,7 @@ local function check(arg) local deprecated_replacements = { anonymous_login = instead_use("option", "authentication", "anonymous"); daemonize = "instead, use the --daemonize/-D or --foreground/-F command line flags"; - disallow_s2s = instead_use("module", "s2s"); + disallow_s2s = instead_use("module", "s2s", "modules_disabled"); no_daemonize = "instead, use the --daemonize/-D or --foreground/-F command line flags"; require_encryption = "instead, use 'c2s_require_encryption' and 's2s_require_encryption'"; vcard_compatibility = instead_use("community", "mod_compat_vcard"); |