Changeset

1130:442c87de8e2d

util.prosodyctl: Import CFG_SOURCEDIR from the global environment (thanks macaronyde!)
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2009 21:45:02 +0100
parents 1129:3ee9047334db
children 1131:83a150e3b3bb 1143:5bab3eb566ad
files util/prosodyctl.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)