Changeset

1070:3b066968063b

mod_dialback: Use module logger instead of creating a new one
author Matthew Wild <mwild1@gmail.com>
date Thu, 30 Apr 2009 01:37:52 +0100
parents 1069:034e345c0f8d
children 1071:216f9a9001f1
files plugins/mod_dialback.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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";