# HG changeset patch # User Matthew Wild # Date 1292644948 0 # Node ID 2e15808243f3ea69daa89d38d02c72f3bff23c12 # Parent e1f6fe098404299878b2e5b020b51b54a4d0113e prosodyctl: Add dummy lock/unlock_globals() until util.startup comes along diff -r e1f6fe098404 -r 2e15808243f3 prosodyctl --- a/prosodyctl Sat Dec 18 03:25:31 2010 +0000 +++ b/prosodyctl Sat Dec 18 04:02:28 2010 +0000 @@ -33,9 +33,11 @@ -- Global 'prosody' object prosody = { - hosts = {}, - events = require "util.events".new(), - platform = "posix" + hosts = {}; + events = require "util.events".new(); + platform = "posix"; + lock_globals = function () end; + unlock_globals = function () end; }; local prosody = prosody;