Diff

plugins/mod_dialback.lua @ 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
parent 1065:3806173670f2
child 1077:d6a885cacd8c
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";