# HG changeset patch # User Kim Alvefur # Date 1376158665 -7200 # Node ID 3a81e3b0ea4f6b3ce0069c237221925fa68a216b # Parent f449da907b8559b83a2d06a629f49da374b919fa mod_auth_internal_hashed: Use logger setup by moduleapi instead of going for util.logger directly diff -r f449da907b85 -r 3a81e3b0ea4f plugins/mod_auth_internal_hashed.lua --- a/plugins/mod_auth_internal_hashed.lua Sat Aug 10 20:15:25 2013 +0200 +++ b/plugins/mod_auth_internal_hashed.lua Sat Aug 10 20:17:45 2013 +0200 @@ -7,12 +7,13 @@ -- COPYING file in the source package for more information. -- -local log = require "util.logger".init("auth_internal_hashed"); local getAuthenticationDatabaseSHA1 = require "util.sasl.scram".getAuthenticationDatabaseSHA1; local usermanager = require "core.usermanager"; local generate_uuid = require "util.uuid".generate; local new_sasl = require "util.sasl".new; +local log = module._log; + local accounts = module:open_store("accounts"); local to_hex;