From da3d755a15e4f5659e8ce50feb7fc4daceed2df4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 27 Aug 2023 15:46:19 +0200 Subject: 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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"); -- cgit v1.2.3