Diff

tools/ejabberd2prosody.lua @ 5999:e49c0c677c5d

tools/ejabberd2prosody: Disable generating a config, as the format it generates is completely out of date.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 18 Jan 2014 17:26:02 -0500
parent 5998:60d86c9e02ec
child 6000:0f6399c86c10
child 6006:95ce7bfbfa6f
line wrap: on
line diff
--- a/tools/ejabberd2prosody.lua	Sat Jan 18 17:24:10 2014 -0500
+++ b/tools/ejabberd2prosody.lua	Sat Jan 18 17:26:02 2014 -0500
@@ -247,7 +247,7 @@
 		end
 		muc_room(tuple[2][1], tuple[2][2], properties);
 	end;
-	config = function(tuple)
+	--[=[config = function(tuple)
 		if tuple[2] == "hosts" then
 			local output = io.output(); io.output("prosody.cfg.lua");
 			io.write("-- Configuration imported from ejabberd --\n");
@@ -275,7 +275,7 @@
 			io.output(output);
 			print("prosody.cfg.lua created");
 		end
-	end;
+	end;]=]
 };
 
 local arg = ...;