tools/ejabberd2prosody: Create prosody singleton so datamanager can detect the platform (set no platform to use lfs, pposix isn't necessary here)
authorMatthew Wild <mwild1@gmail.com>
Thu, 25 Mar 2010 18:52:34 +0000
changeset 2943 9236a7856688
parent 2941 a2b01936f8f9
child 2944 855c0eb80600
child 2945 475dee08b400
tools/ejabberd2prosody: Create prosody singleton so datamanager can detect the platform (set no platform to use lfs, pposix isn't necessary here)
tools/ejabberd2prosody.lua
--- a/tools/ejabberd2prosody.lua	Thu Mar 25 12:32:25 2010 +0000
+++ b/tools/ejabberd2prosody.lua	Thu Mar 25 18:52:34 2010 +0000
@@ -17,6 +17,8 @@
 
 require "erlparse";
 
+prosody = {};
+
 local serialize = require "util.serialization".serialize;
 local st = require "util.stanza";
 package.loaded["util.logger"] = {init = function() return function() end; end}