Software /
code /
prosody
Diff
util/prosodyctl.lua @ 5379:27de7cc94111
util.{prosodyctl,openssl}: More use of config sections removed
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 02:38:30 +0100 |
parent | 5102:ae8a993b598d |
child | 5524:e9090966c803 |
line wrap: on
line diff
--- a/util/prosodyctl.lua Sat Mar 23 02:35:50 2013 +0100 +++ b/util/prosodyctl.lua Sat Mar 23 02:38:30 2013 +0100 @@ -182,12 +182,12 @@ end function getpid() - local pidfile = config.get("*", "core", "pidfile"); + local pidfile = config.get("*", "pidfile"); if not pidfile then return false, "no-pidfile"; end - local modules_enabled = set.new(config.get("*", "core", "modules_enabled")); + local modules_enabled = set.new(config.get("*", "modules_enabled")); if not modules_enabled:contains("posix") then return false, "no-posix"; end