From 95040378fd0373e8e17cddff42b7017d120b78c2 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 6 May 2009 21:45:02 +0100 Subject: util.prosodyctl: Import CFG_SOURCEDIR from the global environment (thanks macaronyde!) --- util/prosodyctl.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/prosodyctl.lua') diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua index 3b523a78..ce223459 100644 --- a/util/prosodyctl.lua +++ b/util/prosodyctl.lua @@ -9,6 +9,9 @@ local nodeprep, nameprep = stringprep.nodeprep, stringprep.nameprep; local io, os = io, os; local tostring, tonumber = tostring, tonumber; + +local CFG_SOURCEDIR = _G.CFG_SOURCEDIR; + module "prosodyctl" function adduser(params) -- cgit v1.2.3