From eb231e9eab6b279246a50f3d0f2bcf6e3c5f529a Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 27 May 2017 15:32:28 +0100 Subject: configmanager: Remove support for multiple parsers, fixes #852. --- prosody | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'prosody') diff --git a/prosody b/prosody index 7a0d3552..7f6b1c2d 100755 --- a/prosody +++ b/prosody @@ -76,9 +76,7 @@ function read_config() elseif os.getenv("PROSODY_CONFIG") then -- Passed by prosodyctl table.insert(filenames, os.getenv("PROSODY_CONFIG")); else - for _, format in ipairs(config.parsers()) do - table.insert(filenames, (CFG_CONFIGDIR or ".").."/prosody.cfg."..format); - end + table.insert(filenames, (CFG_CONFIGDIR or ".").."/prosody.cfg.lua"); end for _,_filename in ipairs(filenames) do filename = _filename; -- cgit v1.2.3