mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on modules setting globals

This commit is contained in:
Florian Zeitz 2012-06-09 02:27:44 +02:00
parent 3d682bf8b1
commit 8eec297456
5 changed files with 10 additions and 5 deletions

View file

@ -15,7 +15,7 @@ if arg[0]:match("^./") then
package.path = package.path .. ";"..arg[0]:gsub("/ejabberd2prosody.lua$", "/?.lua");
end
require "erlparse";
local erlparse = require "erlparse";
prosody = {};