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
commit0c9d32c5bdbb5429e0258f75a68c4ca1158d651c (patch)
tree262dbead4e9c20641d6cf3aa4d947a71ea91a2c1
parent114b761b59a54c46be5ca21a129fd031ec7e07be (diff)
downloadprosody-0c9d32c5bdbb5429e0258f75a68c4ca1158d651c.tar.gz
prosody-0c9d32c5bdbb5429e0258f75a68c4ca1158d651c.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;