util.prosodyctl.check: Correct modern replacement for 'disallow_s2s' 0.12 0.12.4
authorKim Alvefur <zash@zash.se>
Sun, 27 Aug 2023 15:46:19 +0200
branch0.12
changeset 13258 a2ba3f06dcf4
parent 13251 1bb4aa803b32
child 13260 53708752cc5d
child 13261 e11644485902
util.prosodyctl.check: Correct modern replacement for 'disallow_s2s' The code would have suggested adding to modules_enabled instead of modules_disabled
util/prosodyctl/check.lua
--- a/util/prosodyctl/check.lua	Sat Jul 22 16:31:05 2023 +0200
+++ b/util/prosodyctl/check.lua	Sun Aug 27 15:46:19 2023 +0200
@@ -369,7 +369,7 @@
 		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");