aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl.lua
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
commitdeff4bc96dfede198fed7ed07f9d1afbb006571d (patch)
tree8a329a218a5ec3375bed434f6cec28f0a0373c45 /util/prosodyctl.lua
parentad149e788d750baf48dbfb8dbbaa4e7e831ddba7 (diff)
downloadprosody-deff4bc96dfede198fed7ed07f9d1afbb006571d.tar.gz
prosody-deff4bc96dfede198fed7ed07f9d1afbb006571d.zip
util.prosodyctl: Rename variables for consistency (thanks Link Mauve)
Diffstat (limited to 'util/prosodyctl.lua')
-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