# HG changeset patch # User Matthew Wild # Date 1335581353 -3600 # Node ID 943f9f860ab463b6709b0948c1cc44ff17c56a23 # Parent 178f252c31b065f2ad5c1606bf8ca35cc6cbb66d mod_auth_internal_plain: Remove unused imports diff -r 178f252c31b0 -r 943f9f860ab4 plugins/mod_auth_internal_plain.lua --- a/plugins/mod_auth_internal_plain.lua Sat Apr 28 03:43:27 2012 +0100 +++ b/plugins/mod_auth_internal_plain.lua Sat Apr 28 03:49:13 2012 +0100 @@ -7,19 +7,11 @@ -- local datamanager = require "util.datamanager"; -local log = require "util.logger".init("auth_internal_plain"); -local type = type; -local error = error; -local ipairs = ipairs; -local hashes = require "util.hashes"; -local jid_bare = require "util.jid".bare; -local config = require "core.configmanager"; local usermanager = require "core.usermanager"; local new_sasl = require "util.sasl".new; local nodeprep = require "util.encodings".stringprep.nodeprep; -local hosts = hosts; -local prosody = _G.prosody; +local log = module._log; function new_default_provider(host) local provider = { name = "internal_plain" };