diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-05-27 15:32:28 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-05-27 15:32:28 +0100 |
commit | eb231e9eab6b279246a50f3d0f2bcf6e3c5f529a (patch) | |
tree | f5b4a772f168579dbf6e0ad85dde50bd9942661f /prosody | |
parent | 30cd746fdf8e16e49abbcbd80a3d0c0bf619ac67 (diff) | |
download | prosody-eb231e9eab6b279246a50f3d0f2bcf6e3c5f529a.tar.gz prosody-eb231e9eab6b279246a50f3d0f2bcf6e3c5f529a.zip |
configmanager: Remove support for multiple parsers, fixes #852.
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |