Diff

tools/ejabberd2prosody.lua @ 5309:2da869d95271

ejabberd2prosody.lua: Replace util.logger with a dummy before requiring util.serialization
author Kim Alvefur <zash@zash.se>
date Thu, 24 Jan 2013 21:48:45 +0100
parent 5023:dcc8e789df36
child 5310:bc60cad47397
line wrap: on
line diff
--- a/tools/ejabberd2prosody.lua	Thu Jan 24 16:36:48 2013 +0100
+++ b/tools/ejabberd2prosody.lua	Thu Jan 24 21:48:45 2013 +0100
@@ -19,9 +19,9 @@
 
 prosody = {};
 
+package.loaded["util.logger"] = {init = function() return function() end; end}
 local serialize = require "util.serialization".serialize;
 local st = require "util.stanza";
-package.loaded["util.logger"] = {init = function() return function() end; end}
 local dm = require "util.datamanager"
 dm.set_data_path("data");