aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-05-27 15:32:28 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-05-27 15:32:28 +0100
commit240b0bb53ec6286c5cdce7d8ca10af514a00bb0f (patch)
treef5b4a772f168579dbf6e0ad85dde50bd9942661f /prosodyctl
parent31449a33114f4c183969bfca6e7572ac481bc35a (diff)
downloadprosody-240b0bb53ec6286c5cdce7d8ca10af514a00bb0f.tar.gz
prosody-240b0bb53ec6286c5cdce7d8ca10af514a00bb0f.zip
configmanager: Remove support for multiple parsers, fixes #852.
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl4
1 files changed, 1 insertions, 3 deletions
diff --git a/prosodyctl b/prosodyctl
index 1d4296bf..e1f3e321 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -74,9 +74,7 @@ do
end
table.remove(arg, 1); table.remove(arg, 1);
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;