From 453b7c86a1d112bf2ff834cf2f83c89632a7b9ca Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 6 Jun 2018 22:27:40 +0200 Subject: util.prosodyctl: Rename variables for consistency (thanks Link Mauve) --- util/prosodyctl.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/prosodyctl.lua') diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua index eee09762..5f0c4d12 100644 --- a/util/prosodyctl.lua +++ b/util/prosodyctl.lua @@ -190,8 +190,8 @@ local function getpid() 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 -- cgit v1.2.3