Diff

tools/ejabberd2prosody.lua @ 5023:dcc8e789df36

mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on modules setting globals
author Florian Zeitz <florob@babelmonkeys.de>
date Sat, 09 Jun 2012 02:27:44 +0200
parent 4380:9f1c61805817
child 5309:2da869d95271
line wrap: on
line diff
--- a/tools/ejabberd2prosody.lua	Sat Jun 09 01:18:21 2012 +0200
+++ b/tools/ejabberd2prosody.lua	Sat Jun 09 02:27:44 2012 +0200
@@ -15,7 +15,7 @@
 	package.path = package.path .. ";"..arg[0]:gsub("/ejabberd2prosody.lua$", "/?.lua");
 end
 
-require "erlparse";
+local erlparse = require "erlparse";
 
 prosody = {};