Software /
code /
prosody
Diff
util/prosodyctl.lua @ 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 |
parent | 8668:31c5abd49dfe |
child | 9781:161411a41377 |
child | 10720:6e46fefe956c |
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