Changeset

8883:3f975bbfec3b

util.prosodyctl: Rename variables for consistency (thanks Link Mauve)
author Kim Alvefur <zash@zash.se>
date Wed, 06 Jun 2018 22:27:40 +0200
parents 8882:a420b386a72a
children 8884:a387e00471d6
files util/prosodyctl.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util/prosodyctl.lua	Thu Jun 07 11:24:29 2018 +0100
+++ b/util/prosodyctl.lua	Wed Jun 06 22:27:40 2018 +0200
@@ -190,8 +190,8 @@
 
 	pidfile = config.resolve_relative_path(prosody.paths.data, pidfile);
 
-	local modules_enabled = set.new(config.get("*", "modules_disabled"));
-	if prosody.platform ~= "posix" or modules_enabled:contains("posix") then
+	local modules_disabled = set.new(config.get("*", "modules_disabled"));
+	if prosody.platform ~= "posix" or modules_disabled:contains("posix") then
 		return false, "no-posix";
 	end