Changeset

3773:2e15808243f3

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
parents 3772:e1f6fe098404
children 3774:9189ed18c3c9
files prosodyctl
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;