# HG changeset patch # User Matthew Wild # Date 1241642702 -3600 # Node ID 442c87de8e2df1e3903f005a9c8d4ea276925933 # Parent 3ee9047334dbc70a054256de6a9bc2967c2c5387 util.prosodyctl: Import CFG_SOURCEDIR from the global environment (thanks macaronyde!) diff -r 3ee9047334db -r 442c87de8e2d util/prosodyctl.lua --- a/util/prosodyctl.lua Tue May 05 18:08:33 2009 +0100 +++ b/util/prosodyctl.lua Wed May 06 21:45:02 2009 +0100 @@ -9,6 +9,9 @@ local io, os = io, os; local tostring, tonumber = tostring, tonumber; + +local CFG_SOURCEDIR = _G.CFG_SOURCEDIR; + module "prosodyctl" function adduser(params)