aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-18 04:02:28 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-18 04:02:28 +0000
commit7b6dc4fed922929c91ef02cbca2476b0bc09c00f (patch)
tree07029b2c927a4199255f48d24ba443f5e6aaae58
parentd44b3d481a2fc41fddc5b407ea08612333c1b6e5 (diff)
downloadprosody-7b6dc4fed922929c91ef02cbca2476b0bc09c00f.tar.gz
prosody-7b6dc4fed922929c91ef02cbca2476b0bc09c00f.zip
prosodyctl: Add dummy lock/unlock_globals() until util.startup comes along
-rwxr-xr-xprosodyctl8
1 files changed, 5 insertions, 3 deletions
diff --git a/prosodyctl b/prosodyctl
index c7ef93ed..05a71b38 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -33,9 +33,11 @@ end
-- 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;