Comparison

prosodyctl @ 3892:070d04b56a48

prosodyctl: Add dummy lock/unlock_globals() until util.startup comes along
author Matthew Wild <mwild1@gmail.com>
date Sat, 18 Dec 2010 04:02:28 +0000
parent 3862:ec8bcd766693
child 3777:5ecbcef42ffb
comparison
equal deleted inserted replaced
3891:f82af9f7f1cd 3892:070d04b56a48
31 end 31 end
32 end 32 end
33 33
34 -- Global 'prosody' object 34 -- Global 'prosody' object
35 prosody = { 35 prosody = {
36 hosts = {}, 36 hosts = {};
37 events = require "util.events".new(), 37 events = require "util.events".new();
38 platform = "posix" 38 platform = "posix";
39 lock_globals = function () end;
40 unlock_globals = function () end;
39 }; 41 };
40 local prosody = prosody; 42 local prosody = prosody;
41 43
42 config = require "core.configmanager" 44 config = require "core.configmanager"
43 45