mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on modules setting globals
This commit is contained in:
parent
3d682bf8b1
commit
8eec297456
5 changed files with 10 additions and 5 deletions
|
@ -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 = {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue