Changeset

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
parents 3891:f82af9f7f1cd
children 3893:475fc383527d
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;