aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-06-06 22:27:40 +0200
committerKim Alvefur <zash@zash.se>2018-06-06 22:27:40 +0200
commit453b7c86a1d112bf2ff834cf2f83c89632a7b9ca (patch)
tree8a329a218a5ec3375bed434f6cec28f0a0373c45 /util
parentd31e7a5276ad29ad1390cd2ed344eeddb639a867 (diff)
downloadprosody-453b7c86a1d112bf2ff834cf2f83c89632a7b9ca.tar.gz
prosody-453b7c86a1d112bf2ff834cf2f83c89632a7b9ca.zip
util.prosodyctl: Rename variables for consistency (thanks Link Mauve)
Diffstat (limited to 'util')
-rw-r--r--util/prosodyctl.lua4
1 files changed, 2 insertions, 2 deletions
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