From 613c9b00c4e9073f74e53efaa1c31ae00a73eae4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 23 Mar 2013 02:38:30 +0100 Subject: util.{prosodyctl,openssl}: More use of config sections removed --- util/prosodyctl.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/prosodyctl.lua') 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 -- cgit v1.2.3