Software /
code /
prosody
Diff
plugins/mod_saslauth.lua @ 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 |
parent | 1065:3806173670f2 |
child | 1072:c7967004b5d0 |
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';