Diff

prosodyctl @ 8153:c22d5680ca68

configmanager: Remove support for multiple parsers, fixes #852.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 27 May 2017 15:32:28 +0100
parent 8146:5c91fb62338e
child 8181:79f73af4c410
line wrap: on
line diff
--- a/prosodyctl	Sat May 20 15:00:50 2017 +0200
+++ b/prosodyctl	Sat May 27 15:32:28 2017 +0100
@@ -74,9 +74,7 @@
 		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;