Diff

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
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;