aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ejabberdsql2prosody.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-10-20 03:57:47 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-10-20 03:57:47 +0500
commit1df82fb6a9acfd7a8fed96fd78e888219589270a (patch)
tree435f8a74eb14daa61715acf538387ef03fac3bfa /tools/ejabberdsql2prosody.lua
parentb7e51a203d3d95961294c711ae0d9c449ddb040d (diff)
downloadprosody-1df82fb6a9acfd7a8fed96fd78e888219589270a.tar.gz
prosody-1df82fb6a9acfd7a8fed96fd78e888219589270a.zip
ejabberdsql2prosody: Added a global 'prosody' table to fix a traceback.
Diffstat (limited to 'tools/ejabberdsql2prosody.lua')
-rw-r--r--tools/ejabberdsql2prosody.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ejabberdsql2prosody.lua b/tools/ejabberdsql2prosody.lua
index ef4706ce..958cf0e2 100644
--- a/tools/ejabberdsql2prosody.lua
+++ b/tools/ejabberdsql2prosody.lua
@@ -7,6 +7,8 @@
-- COPYING file in the source package for more information.
--
+prosody = {};
+
package.path = package.path ..";../?.lua";
local serialize = require "util.serialization".serialize;
local st = require "util.stanza";