# HG changeset patch # User Matthew Wild # Date 1241051872 -3600 # Node ID 3b066968063b9468c179ae9463a6748d9070764c # Parent 034e345c0f8d0bd9b34ac75cba3dc8c558e08e6c mod_dialback: Use module logger instead of creating a new one diff -r 034e345c0f8d -r 3b066968063b plugins/mod_dialback.lua --- a/plugins/mod_dialback.lua Thu Apr 30 01:36:46 2009 +0100 +++ b/plugins/mod_dialback.lua Thu Apr 30 01:37:52 2009 +0100 @@ -13,9 +13,9 @@ local s2s_verify_dialback = require "core.s2smanager".verify_dialback; local s2s_destroy_session = require "core.s2smanager".destroy_session; -local st = require "util.stanza"; +local log = module._log; -local log = require "util.logger".init("mod_dialback"); +local st = require "util.stanza"; local xmlns_dialback = "jabber:server:dialback";