Mercurial > prosody-hg
diff util/prosodyctl.lua @ 14128:0235fee459d0 13.0
util.prosodyctl: Don't check for mod_posix being disabled, it's deprecated
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 16 Apr 2026 18:17:29 +0100 |
| parents | 2b3d49936518 |
| children |
line wrap: on
line diff
--- a/util/prosodyctl.lua Thu Apr 16 18:16:05 2026 +0100 +++ b/util/prosodyctl.lua Thu Apr 16 18:17:29 2026 +0100 @@ -14,7 +14,6 @@ local usermanager = require "prosody.core.usermanager"; local interpolation = require "prosody.util.interpolation"; local signal = require "prosody.util.signal"; -local set = require "prosody.util.set"; local path = require"prosody.util.paths"; local lfs = require "lfs"; local type = type; @@ -134,8 +133,7 @@ pidfile = config.resolve_relative_path(prosody.paths.data, pidfile); - local modules_disabled = set.new(config.get("*", "modules_disabled")); - if prosody.platform ~= "posix" or modules_disabled:contains("posix") then + if prosody.platform ~= "posix" then return false, "no-posix"; end
