diff options
author | Kim Alvefur <zash@zash.se> | 2018-06-06 22:27:40 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-06-06 22:27:40 +0200 |
commit | 453b7c86a1d112bf2ff834cf2f83c89632a7b9ca (patch) | |
tree | 8a329a218a5ec3375bed434f6cec28f0a0373c45 /util/prosodyctl.lua | |
parent | d31e7a5276ad29ad1390cd2ed344eeddb639a867 (diff) | |
download | prosody-453b7c86a1d112bf2ff834cf2f83c89632a7b9ca.tar.gz prosody-453b7c86a1d112bf2ff834cf2f83c89632a7b9ca.zip |
util.prosodyctl: Rename variables for consistency (thanks Link Mauve)
Diffstat (limited to 'util/prosodyctl.lua')
-rw-r--r-- | util/prosodyctl.lua | 4 |
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 |