Changeset

1071:216f9a9001f1

mod_saslauth: Use module logger instead of creating a new one
author Matthew Wild <mwild1@gmail.com>
date Thu, 30 Apr 2009 01:38:52 +0100
parents 1070:3b066968063b
children 1072:c7967004b5d0
files plugins/mod_saslauth.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Thu Apr 30 01:37:52 2009 +0100
+++ b/plugins/mod_saslauth.lua	Thu Apr 30 01:38:52 2009 +0100
@@ -21,7 +21,7 @@
 local md5 = require "util.hashes".md5;
 local config = require "core.configmanager";
 
-local log = require "util.logger".init("mod_saslauth");
+local log = module._log;
 
 local xmlns_sasl ='urn:ietf:params:xml:ns:xmpp-sasl';
 local xmlns_bind ='urn:ietf:params:xml:ns:xmpp-bind';