Changeset

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
parents 5308:fd3219d64414
children 5310:bc60cad47397
files tools/ejabberd2prosody.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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");