Diff

prosodyctl @ 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
parent 3742:a18acd47904b
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;