diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-05-06 21:45:02 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-05-06 21:45:02 +0100 |
commit | 95040378fd0373e8e17cddff42b7017d120b78c2 (patch) | |
tree | c6004d7197e4524fabc4ab2b499ef25dbcf9bff2 /util | |
parent | 7c445f330843fae8eb50cf18ab4e74b1734e6de2 (diff) | |
download | prosody-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.lua | 3 |
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) |