aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-06 21:45:02 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-06 21:45:02 +0100
commit95040378fd0373e8e17cddff42b7017d120b78c2 (patch)
treec6004d7197e4524fabc4ab2b499ef25dbcf9bff2 /util
parent7c445f330843fae8eb50cf18ab4e74b1734e6de2 (diff)
downloadprosody-95040378fd0373e8e17cddff42b7017d120b78c2.tar.gz
prosody-95040378fd0373e8e17cddff42b7017d120b78c2.zip
util.prosodyctl: Import CFG_SOURCEDIR from the global environment (thanks macaronyde!)
Diffstat (limited to 'util')
-rw-r--r--util/prosodyctl.lua3
1 files changed, 3 insertions, 0 deletions
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)