aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-03-23 02:38:30 +0100
committerKim Alvefur <zash@zash.se>2013-03-23 02:38:30 +0100
commit7ebd37f7371744d1b4d7b38d2c2dbc9888f5ac83 (patch)
tree7d438b5b059d336baeea46bbf9dff2fe05538cc9 /util/prosodyctl.lua
parent915e1bddf3cfdbd6725c229d79b501f75f618455 (diff)
downloadprosody-7ebd37f7371744d1b4d7b38d2c2dbc9888f5ac83.tar.gz
prosody-7ebd37f7371744d1b4d7b38d2c2dbc9888f5ac83.zip
util.{prosodyctl,openssl}: More use of config sections removed
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 e38f85d4..1ab1d0bb 100644
--- a/util/prosodyctl.lua
+++ b/util/prosodyctl.lua
@@ -182,12 +182,12 @@ function deluser(params)
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