Comparison

tools/ejabberdsql2prosody.lua @ 3541:a72b88953bf2

ejabberdsql2prosody: Added a global 'prosody' table to fix a traceback.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 20 Oct 2010 03:57:47 +0500
parent 2923:b7049746bd29
child 4384:7fbcb7e6a6a0
comparison
equal deleted inserted replaced
3540:bc139431830b 3541:a72b88953bf2
4 -- Copyright (C) 2008-2010 Waqas Hussain 4 -- Copyright (C) 2008-2010 Waqas Hussain
5 -- 5 --
6 -- This project is MIT/X11 licensed. Please see the 6 -- This project is MIT/X11 licensed. Please see the
7 -- COPYING file in the source package for more information. 7 -- COPYING file in the source package for more information.
8 -- 8 --
9
10 prosody = {};
9 11
10 package.path = package.path ..";../?.lua"; 12 package.path = package.path ..";../?.lua";
11 local serialize = require "util.serialization".serialize; 13 local serialize = require "util.serialization".serialize;
12 local st = require "util.stanza"; 14 local st = require "util.stanza";
13 package.loaded["util.logger"] = {init = function() return function() end; end} 15 package.loaded["util.logger"] = {init = function() return function() end; end}